vendor/emmet.js
function(name, args) {
			if (!_.isArray(args)) {
				args = _.rest(arguments);
			}
			
			var action = this.get(name);
			if (action) {
				return action.fn.apply(emmet, args);
			} else {
				emmet.log('Action "%s" is not defined', name);
				return false;
			}
		}
function(name, args) {
			if (!_.isArray(args)) {
				args = _.rest(arguments);
			}
			
			var action = this.get(name);
			if (action) {
				return action.fn.apply(emmet, args);
			} else {
				emmet.log('Action "%s" is not defined', name);
				return false;
			}
		}
Runs Emmet action. For list of available actions and their
arguments see <i>actions</i> folder.
@param {String} name Action name
@param {Array} args Additional arguments. It may be array of arguments
or inline arguments. The first argument should be <code>IEmmetEditor</code> instance
@returns {Boolean} Status of performed operation, <code>true</code>
means action was performed successfully.
@example
emmet.require('actions').run('expand_abbreviation', editor);
emmet.require('actions').run('wrap_with_abbreviation', [editor, 'div']);