Sha256: a89e2fc1daa518e2dba0ba8b36ef279a9323d497e1b01155e3ccd113740f55a1

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

<% all_fixtures = MagicLamp.generate_all_fixtures.to_json rescue nil %>

<% if all_fixtures %>

MagicLamp.genie.cacheOnly = true;
MagicLamp.genie.cache = <%= MagicLamp.generate_all_fixtures.to_json %>;

<% else %>

throw new Error(MagicLamp.genericError);

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
magic_lamp-1.6.1 app/assets/javascripts/magic_lamp/all_fixtures.js.erb
magic_lamp-1.6.0 app/assets/javascripts/magic_lamp/all_fixtures.js.erb