B2G/gecko/browser/devtools/commandline/CmdCookie.jsm
/**
 * Create a handler to execute the text held in the data-command attribute
 * under the currentTarget of the event.
 * @param context Either a Requisition or an ExecutionContext or another object
 * that contains an |update()| function that follows a similar contract.
 */
Create a handler to execute the text held in the data-command attribute
under the currentTarget of the event.
@param context Either a Requisition or an ExecutionContext or another object
that contains an |update()| function that follows a similar contract.
Create a handler to execute the text held in the data - command attribute under the currentTarget of the event . @param context Either a Requisition or an ExecutionContext or another object that contains an |update () | function that follows a similar contract .
function createExecuteHandler(context) {
  return function(ev) {
    withCommand(ev.currentTarget, function(command) {
      context.exec({
        visible: true,
        typed: command
      });
    });
  }
}
function createExecuteHandler ( context ) { return function ( ev ) { withCommand ( ev . currentTarget , function ( command ) { context . exec ( { visible : true , typed : command } ) ; } ) ; } }
Create a handler to execute the text held in the data-command attribute
 under the currentTarget of the event.
Create a handler to execute the text held in the data - command attribute under the currentTarget of the event .