(self, attrs=None)
return _nulljoin(result)
Return a string suitable for JavaScript.
Return a string suitable for JavaScript.
Return a string suitable for JavaScript .
def js_output(self, attrs=None):
        """Return a string suitable for JavaScript."""
        result = []
        items = sorted(self.items())
        for key, value in items:
            result.append(value.js_output(attrs))
        return _nulljoin(result)
def js_output ( self , attrs = None ) : result = [ ] items = sorted ( self . items ( ) ) for key , value in items : result . append ( value . js_output ( attrs ) ) return _nulljoin ( result )