lib/packages/core.js
function(target, level) {

		if (!this._scope_refresh_queues[level]) {

			if (this._min_scope_refresh_level > level) {

				this._min_scope_refresh_level = level;

			}

			this._scope_refresh_queues[level] = [];

		}

		// It absolutely must be an object, but it has no methods for performance reasons - to stay as light as possible
		return {
			index: this._scope_refresh_queues[level].push(target) - 1
		}

	}
function(target, level) {

		if (!this._scope_refresh_queues[level]) {

			if (this._min_scope_refresh_level > level) {

				this._min_scope_refresh_level = level;

			}

			this._scope_refresh_queues[level] = [];

		}

		// It absolutely must be an object, but it has no methods for performance reasons - to stay as light as possible
		return {
			index: this._scope_refresh_queues[level].push(target) - 1
		}

	}
function ( target , level ) { if ( ! this . _scope_refresh_queues [ level ] ) { if ( this . _min_scope_refresh_level > level ) { this . _min_scope_refresh_level = level ; } this . _scope_refresh_queues [ level ] = [ ] ; } // It absolutely must be an object, but it has no methods for performance reasons - to stay as light as possible return { index : this . _scope_refresh_queues [ level ] . push ( target ) - 1 } }
Normal version outside of view refresh cycle - adds scope into refresh queue.
@param {Lava.mixin.Refreshable} target
@param {number} level
@returns {{index: number}}
Normal version outside of view refresh cycle - adds scope into refresh queue .