docs/a.js
function(extension, args) {
			var plugins = this._plugins;
			var ilen = plugins.length;
			var i, plugin;

			for (i=0; i<ilen; ++i) {
				plugin = plugins[i];
				if (typeof plugin[extension] === 'function') {
					if (plugin[extension].apply(plugin, args || []) === false) {
						return false;
					}
				}
			}

			return true;
		}
function(extension, args) {
			var plugins = this._plugins;
			var ilen = plugins.length;
			var i, plugin;

			for (i=0; i<ilen; ++i) {
				plugin = plugins[i];
				if (typeof plugin[extension] === 'function') {
					if (plugin[extension].apply(plugin, args || []) === false) {
						return false;
					}
				}
			}

			return true;
		}
function ( extension , args ) { var plugins = this . _plugins ; var ilen = plugins . length ; var i , plugin ; for ( i = 0 ; i < ilen ; ++ i ) { plugin = plugins [ i ] ; if ( typeof plugin [ extension ] === 'function' ) { if ( plugin [ extension ] . apply ( plugin , args || [ ] ) === false ) { return false ; } } } return true ; }
Calls registered plugins on the specified extension, with the given args. This
method immediately returns as soon as a plugin explicitly returns false. The
returned value can be used, for instance, to interrupt the current action.
@param {String} extension the name of the plugin method to call (e.g. 'beforeUpdate').
@param {Array} [args] extra arguments to apply to the extension call.
@returns {Boolean} false if any of the plugins return false, else returns true.
Calls registered plugins on the specified extension with the given args . This method immediately returns as soon as a plugin explicitly returns false . The returned value can be used for instance to interrupt the current action .