browser/static/yabble.js
function() {
		var i = 0;
		while (i<_callbacks.length) {
			var deps = _callbacks[i][0],
				func = _callbacks[i][1],
				n = 0;
			while (n<deps.length) {
				if (areDeepDepsDefined(deps[n])) {
					deps.splice(n, 1);
				}
				else {
					n++;
				}
			}
			if (!deps.length) {
				_callbacks.splice(i, 1);
				if (func != null) {
					setTimeout(func, 0);
				}
			}
			else {
				i++;
			}
		}
	}
function() {
		var i = 0;
		while (i<_callbacks.length) {
			var deps = _callbacks[i][0],
				func = _callbacks[i][1],
				n = 0;
			while (n<deps.length) {
				if (areDeepDepsDefined(deps[n])) {
					deps.splice(n, 1);
				}
				else {
					n++;
				}
			}
			if (!deps.length) {
				_callbacks.splice(i, 1);
				if (func != null) {
					setTimeout(func, 0);
				}
			}
			else {
				i++;
			}
		}
	}
function ( ) { var i = 0 ; while ( i < _callbacks . length ) { var deps = _callbacks [ i ] [ 0 ] , func = _callbacks [ i ] [ 1 ] , n = 0 ; while ( n < deps . length ) { if ( areDeepDepsDefined ( deps [ n ] ) ) { deps . splice ( n , 1 ) ; } else { n ++ ; } } if ( ! deps . length ) { _callbacks . splice ( i , 1 ) ; if ( func != null ) { setTimeout ( func , 0 ) ; } } else { i ++ ; } } }
Checks dependency callbacks and fires as necessary
Checks dependency callbacks and fires as necessary