lib/assets/handlerList.js
function(fn, options) {
			// TODO hack for stable sort, remove after fixing `list()`
			var order = this._list.length;
			if (options && 'order' in options) {
				order = options.order * 10000;
			}
			this._list.push(utils.extend({}, options, {order: order, fn: fn}));
		}
function(fn, options) {
			// TODO hack for stable sort, remove after fixing `list()`
			var order = this._list.length;
			if (options && 'order' in options) {
				order = options.order * 10000;
			}
			this._list.push(utils.extend({}, options, {order: order, fn: fn}));
		}
function ( fn , options ) { // TODO hack for stable sort, remove after fixing `list()` var order = this . _list . length ; if ( options && 'order' in options ) { order = options . order * 10000 ; } this . _list . push ( utils . extend ( { } , options , { order : order , fn : fn } ) ) ; }
Adds function handler
@param {Function} fn Handler
@param {Object} options Handler options. Possible values are:<br><br>
<b>order</b> : (<code>Number</code>) – order in handler list. Handlers
with higher order value will be executed earlier.
Adds function handler