Sha256: 2d85874fd8d9ca7768bfca9518712933f908991cca2f1ad7cb8becc25f6074ea

Contents?: true

Size: 1.94 KB

Versions: 12

Compression:

Stored size: 1.94 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1620397948.648268:@value"V{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"crit-utils/wait_for.js;FI"
pathname;TI"U/Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/wait_for.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2021-05-06T16:53:39+03:00;TI"length;Ti8I"digest;TI"%7edc24a58646a67e1a43388b93bd070e;FI"source;TI"8(function(window) {
  window.waitFor || (window.waitFor = function(key, deepCheck, interval) {
    return function(callback) {
      var _called, _timer, checker;
      _timer = null;
      _called = false;
      setTimeout((function() {
        if (!_called) {
          return console.warn("not loaded component [" + key + "] in " + waitFor.timeout, typeof window[key]);
        }
      }), waitFor.timeout);
      checker = function() {
        if (_called || typeof window[key] === 'undefined') {
          return;
        }
        if (typeof deepCheck === 'function') {
          if (!deepCheck.call(window[key])) {
            return;
          }
        }
        clearInterval(_timer);
        _called = true;
        if (typeof callback !== 'function') {
          return;
        }
        return callback.call(window[key], window[key]);
      };
      _timer = setInterval(checker, interval || waitFor.tick);
      checker();
      return null;
    };
  });
  window.waitFor.timeout = waitFor.timeout || 30000;
  window.waitFor.tick = waitFor.tick || 100;
})(window);
;TI"dependency_digest;TI"%3c75286ee4fb1f83d0a0623e224e63b1;FI"required_paths;T[I"U/Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/wait_for.js;FI"dependency_paths;T[{I"	path;TI"U/Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/wait_for.js;F@I"2021-05-06T16:53:39+03:00;T@I"%7edc24a58646a67e1a43388b93bd070e;FI"
_version;TI"%6cedd7ea766d3b90466ce5175ac9198b;F

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
izi_lightup-1.0.31 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.29 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.28 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.27 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.26 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.25 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.24 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.23 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.22 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.21 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.20 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c
izi_lightup-1.0.19 spec/dummy/tmp/cache/assets/E00/7C0/sprockets%2F0b94981b12fffed72ceb73d3edfd027c