parameters: (self)
return_statement: return u"""
              UE.ajax.request( '%(ajax_url)s', {
                   data: {
                       name: 'ueditor'
                   },
                   onsuccess: function ( xhr ) {%(ajax_success)s},
                   onerror: function ( xhr ){ %(ajax_error)s }
              });
          """ % {
              "ajax_url":self.ajax_url,
              "ajax_success":self.onExecuteAjaxCommand("success"),
              "ajax_error":self.onExecuteAjaxCommand("error")
          }
docstring: 生成通过ajax调用后端命令的前端ajax代码
docstring_summary: 生成通过ajax调用后端命令的前端ajax代码
docstring_tokens: 生成通过ajax调用后端命令的前端ajax代码
function: def render_ajax_command(self):
          """"生成通过ajax调用后端命令的前端ajax代码"""
          if not self.ajax_url: return ""
  
          return u"""
              UE.ajax.request( '%(ajax_url)s', {
                   data: {
                       name: 'ueditor'
                   },
                   onsuccess: function ( xhr ) {%(ajax_success)s},
                   onerror: function ( xhr ){ %(ajax_error)s }
              });
          """ % {
              "ajax_url":self.ajax_url,
              "ajax_success":self.onExecuteAjaxCommand("success"),
              "ajax_error":self.onExecuteAjaxCommand("error")
          }
function_tokens: def render_ajax_command ( self ) : if not self . ajax_url : return "" return u"""
              UE.ajax.request( '%(ajax_url)s', {
                   data: {
                       name: 'ueditor'
                   },
                   onsuccess: function ( xhr ) {%(ajax_success)s},
                   onerror: function ( xhr ){ %(ajax_error)s }
              });
          """ % { "ajax_url" : self . ajax_url , "ajax_success" : self . onExecuteAjaxCommand ( "success" ) , "ajax_error" : self . onExecuteAjaxCommand ( "error" ) }