Sha256: e7b2d45bfe5119ec1d96625e44fb2c7de6f0bce25c7bea1a31410c792a9fb84f

Contents?: true

Size: 940 Bytes

Versions: 4

Compression:

Stored size: 940 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"storytime/utilities.js;FI"
pathname;TI"X/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/utilities.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+˝ĂSI"length;Ti×I"digest;TI"%76755e6652d8b254acfaddbabdea3c1d;FI"source;TI"×Storytime.Utilities = {
  controllerFromString: function(str){
    if(!str) return null;

    var base = window;
    var components = str.split("::");
    for(var i=0; i<components.length; i++){
      var component = components[i];
      if(base[component]){
        if(i == components.length - 1){
          return base[component];
        }
        else{
          base = base[component];
        }
      }
      else{
        return null;
      }
      
    }
  }
}
;
;TI"required_assets_digest;TI"%65c9d61ad022e306732446accd40e909;FI"
_version;TI"%2b66aa67c90052d553e0328c249bc9b0;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
storytime-0.0.4 spec/dummy/tmp/cache/assets/test/sprockets/180a530dad5e67b95a82a17434e8ecf9
storytime-0.0.4 spec/dummy/tmp/cache/assets/test/sprockets/184694892843c62a63bfb91e42e94ead
storytime-0.0.2 spec/dummy/tmp/cache/assets/test/sprockets/180a530dad5e67b95a82a17434e8ecf9
storytime-0.0.2 spec/dummy/tmp/cache/assets/test/sprockets/184694892843c62a63bfb91e42e94ead