{:uriI"Åfile:///Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/wait_for.js?type=application/javascript&pipeline=self&id=c5f4785a6d482f6691555dfabf49e8ff7d2e5d994daef21d3c045d3b10f1bf15:ET:load_pathI">/Users/izik/www/sparse/izi_lightup/app/assets/javascripts;T: filenameI"U/Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/wait_for.js;T: nameI"crit-utils/wait_for;T:logical_pathI" crit-utils/wait_for.self.js;T:content_typeI"application/javascript;T: sourceI"û(function(window) { window.waitFor = function(key, deepCheck, interval) { return function(success, failed) { var _called = false, _timer, _timeouter; function isFn(t) { return typeof t === "function"; } function stop() { if (_timer !== undefined) { clearInterval(_timer); _timer = undefined; } if (_timeouter !== undefined) { clearTimeout(_timeouter); _timeouter = undefined; } } function checker() { if (_called || typeof window[key] === "undefined") return; if (isFn(deepCheck) && !deepCheck.call(window[key])) return; stop(); _called = true; if (isFn(success)) success.call(window[key], window[key]); }; _timeouter = setTimeout(function () { var msg; if (_called) return; stop(); msg = "not loaded component [" + key + "] in " + waitFor.timeout; if (isFn(failed)) return failed.call(this, msg); console.warn(msg); }, waitFor.timeout); _timer = setInterval(checker, interval || waitFor.tick); checker(); }; }; window.waitFor.timeout = waitFor.timeout || 30000; window.waitFor.tick = waitFor.tick || 100; })(window); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"cfile-digest:///Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/wait_for.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%Œ¸¬Èæ"îÏبg{`çä–é4$*z9šyù¼Ö3: lengthiû:dependencies_digest"%àCÁ Qýš/‰HïOà4gJ$1½·é•ƒà!ïS::idI"Ec5f4785a6d482f6691555dfabf49e8ff7d2e5d994daef21d3c045d3b10f1bf15;F: mtimel+Z>]b