Sha256: b7c2b9b1a1b1fe35b7e77ad7244f2e7c3f92218550492a755efe25bc74118b21
Contents?: true
Size: 1.92 KB
Versions: 2
Compression:
Stored size: 1.92 KB
Contents
{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+ÚJ¯RI"length; Ti{I"digest; TI"%96d30b6012777e23d670bf0ce019a55d; FI"source; TI"{(function() { this.PageSpinner = { spin: function(ms) { var _this = this; if (ms == null) { ms = 250; } this.spinner = setTimeout((function() { return _this.add_spinner(); }), ms); return $(document).on('page:change', function() { return _this.remove_spinner(); }); }, spinner_html: '\ <div class="modal hide fade" id="page-spinner">\ <div class="modal-head card-title"> translation missing: en.loading</div>\ <div class="modal-body card-body">\ <i class="icon-spinner icon-spin icon-2x"></i>\  translation missing: en.loading\ </div>\ </div>\ ', 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"%39bec595f6ae2310e858748febd42dd9; 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"2013-12-16T19:47:54+01:00; TI"digest; TI"%b6c1f0ecf0e8c8b56e85a45eed61d074; FI" _version; TI"%01dc9d4cb5b0ece13ed47cc1cabfeb41; F
Version data entries
2 entries across 2 versions & 1 rubygems