Sha256: 1fe3183c7a1f85ff9492661fcb4a0eedfa51d885f90bd2a827d740f015dacf74

Contents?: true

Size: 947 Bytes

Versions: 10

Compression:

Stored size: 947 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"storytime/utilities.js;FI"
pathname;TI"_/Users/ben/Documents/benroesch.com/storytime/app/assets/javascripts/storytime/utilities.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+˝ĂSI"length;Ti×I"digest;TI"%e127441a9e495f161db9702e4a37aa7c;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"%481d35c4e93a6b4400cf210dfa937fe9;FI"
_version;TI"%361c512b9086418778df946c0d278f91;F

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
storytime-1.0.2 spec/dummy/tmp/cache/assets/development/sprockets/b58f6dc05b854fe861db3b307f13b4a8
storytime-1.0.2 spec/dummy/tmp/cache/assets/development/sprockets/771f25d5659a5390c2be3d2a5b21caa0
storytime-1.0.1 spec/dummy/tmp/cache/assets/development/sprockets/771f25d5659a5390c2be3d2a5b21caa0
storytime-1.0.1 spec/dummy/tmp/cache/assets/development/sprockets/b58f6dc05b854fe861db3b307f13b4a8
storytime-1.0.0 spec/dummy/tmp/cache/assets/development/sprockets/b58f6dc05b854fe861db3b307f13b4a8
storytime-1.0.0 spec/dummy/tmp/cache/assets/development/sprockets/771f25d5659a5390c2be3d2a5b21caa0
storytime-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/b58f6dc05b854fe861db3b307f13b4a8
storytime-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/771f25d5659a5390c2be3d2a5b21caa0
storytime-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/771f25d5659a5390c2be3d2a5b21caa0
storytime-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/b58f6dc05b854fe861db3b307f13b4a8