{I" class:ETI"ProcessedAsset;FI"logical_path;TI" basepack/loading_spinner.js;FI" pathname;TI"]/home/lukas/projects/basepack/app/assets/javascripts/basepack/loading_spinner.coffee.erb;FI"content_type;TI"application/javascript;TI" mtime;Tl+ÓbâRI" length;TiƒI" digest;TI"%f00f5534a7eb6ec0b277c15b25332073;FI" source;TI"ƒ(function() { this.PageSpinner = { spin: function(ms) { if (ms == null) { ms = 250; } this.spinner = setTimeout(((function(_this) { return function() { return _this.add_spinner(); }; })(this)), ms); return $(document).on('page:change', (function(_this) { return function() { return _this.remove_spinner(); }; })(this)); }, spinner_html: '', spinner: null, add_spinner: function() { $('body').append(this.spinner_html); return $('body div#page-spinner').modal(); }, remove_spinner: function() { clearTimeout(this.spinner); $('div#page-spinner').modal('hide'); return $('div#page-spinner').on('hidden', function() { return $(this).remove(); }); } }; $(document).on('page:fetch', function() { return PageSpinner.spin(); }); }).call(this); ;TI"dependency_digest;TI"%a3ddaebeb1bf2c902def68335d22c27a;FI"required_paths;T[I"]/home/lukas/projects/basepack/app/assets/javascripts/basepack/loading_spinner.coffee.erb;FI"dependency_paths;T[{I" path;TI"]/home/lukas/projects/basepack/app/assets/javascripts/basepack/loading_spinner.coffee.erb;FI" mtime;TI"2014-01-24T13:55:47+01:00;TI" digest;TI"%84ac958cc7437748e4e15b1128c6868c;FI" _version;TI"%361c512b9086418778df946c0d278f91;F