Sha256: dc4ba323cc9b5937a6d329f941c90e9cd06b7122e288ddca2ea75ac2bf93b823

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1344536370.579854:@value"{I"
class:EFI"BundledAsset;FI"logical_path;F"coffee_cup.jsI"
pathname;F"q/Users/tcmacdonald/.rvm/gems/ruby-1.9.3-p0/gems/coffee_cup-0.0.4/app/assets/javascripts/coffee_cup.js.coffeeI"content_type;FI"application/javascript;FI"
mtime;FI"2012-02-21T15:09:13-05:00;FI"length;FišI"digest;F"%ace9b27db9e9b639c638cf86299b404fI"source;FI"š(function() {

  window.CoffeeCup = (function() {

    CoffeeCup.prototype.default_options = {
      debug: false
    };

    function CoffeeCup(opts) {
      if (opts == null) {
        opts = void 0;
      }
      this.set_options(opts);
      this.init();
    }

    CoffeeCup.prototype.init = function() {
      return this.log("init()");
    };

    CoffeeCup.prototype.set_options = function(opts) {
      var k, _results;
      this.options = this.default_options;
      _results = [];
      for (k in opts) {
        _results.push(this.options[k] = opts[k]);
      }
      return _results;
    };

    CoffeeCup.prototype.name = function() {
      if (!this.className) {
        this.className = this.constructor.toString().match(/\s[^\(]*/)[0].trim();
      }
      return this.className;
    };

    CoffeeCup.prototype.log = function(msg) {
      if (this.options.debug) {
        if (typeof msg !== 'object') {
          msg = "" + (this.name()) + ".log > " + msg;
        }
        if (window.console) {
          return window.console.log(msg);
        } else {
          return alert(msg);
        }
      }
    };

    return CoffeeCup;

  })();

}).call(this);
;FI"required_assets_digest;F"%f36409a620b8c8e57495c39814f3e496I"
_version;F"%9f3b95dd7ea3030dc35985c0a8020862

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ample_assets-0.0.3 test/dummy/tmp/cache/assets/D93/910/sprockets%2Fa932e0124e29aa443d208cebf4fb6dc8