Sha256: e3c54d3e8b98472e92a8e55517b9983e8d6338337ce04b9d3c23e1d76c2e75d8

Contents?: true

Size: 1.88 KB

Versions: 3

Compression:

Stored size: 1.88 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"magic_lamp/magic_lamp.js;FI"
pathname;TI"Z/Users/Michael/Development/magic_lamp/app/assets/javascripts/magic_lamp/magic_lamp.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ñЃTI"length;TiZI"digest;TI"%0e57ae9cd3344d2b901c1e117d80104e;FI"source;TI"Z(function(global) {
  var MagicLamp = {
    initialize: function() {
      this.genie = new this.Genie();
    },

    fixtureNames: function() {
      return this.genie.fixtureNames();
    },

    globalize: function() {
      window.clean = this.clean;
      window.load = this.load;
      window.loadJSON = this.loadJSON;
      window.loadRaw = this.loadRaw;
    },

    preload: function() {
      this.genie.preload.apply(this.genie, arguments);
    }
  };

  MagicLamp.clean = function() {
    MagicLamp.genie.removeFixtureContainer();
  }

  MagicLamp.load = function() {
    MagicLamp.genie.load.apply(MagicLamp.genie, arguments);
  };

  MagicLamp.loadRaw = function() {
    return MagicLamp.genie.retrieveFixture.apply(MagicLamp.genie, arguments);
  };

  MagicLamp.loadJSON = function(fixtureName) {
    return JSON.parse(MagicLamp.loadRaw(fixtureName));
  };

  global.MagicLamp = MagicLamp;
})(this);

// aliases
MagicLamp.rub = MagicLamp.load;
MagicLamp.wish = MagicLamp.load;
MagicLamp.massage = MagicLamp.preload;
MagicLamp.wishForMoreWishes = MagicLamp.preload;
MagicLamp.polish = MagicLamp.clean;
;TI"dependency_digest;TI"%d11cf67c66000cf8b089730d9eee8c6f;FI"required_paths;T[I"Z/Users/Michael/Development/magic_lamp/app/assets/javascripts/magic_lamp/magic_lamp.js;FI"dependency_paths;T[{I"	path;TI"Z/Users/Michael/Development/magic_lamp/app/assets/javascripts/magic_lamp/magic_lamp.js;FI"
mtime;TI"2014-12-06T22:00:49-06:00;TI"digest;TI"%0e57ae9cd3344d2b901c1e117d80104e;FI"
_version;TI"%d978939c91fa8a88b4612c4140ee433d;F

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
magic_lamp-1.5.0 spec/dummy/tmp/cache/assets/development/sprockets/fdc3718e0a84d340a897f87179d95c84
magic_lamp-1.4.1 spec/dummy/tmp/cache/assets/development/sprockets/fdc3718e0a84d340a897f87179d95c84
magic_lamp-1.4.0 spec/dummy/tmp/cache/assets/development/sprockets/fdc3718e0a84d340a897f87179d95c84