Sha256: 2997bf14c133ae65c6a80735600004e65d22fae551a6e975da2706c323b9c65a

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

{I"
class:ETI"ProcessedAsset;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"%e29169e32201a464bf7003d2ba31126e;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"dependency_digest;TI"%0443fda7d6559d3765f74e9d36205113;FI"required_paths;T[I"X/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/utilities.js;FI"dependency_paths;T[{I"	path;TI"X/Users/ben/flyover/projects/storytime/app/assets/javascripts/storytime/utilities.js;FI"
mtime;TI"2014-07-13T18:43:57-05:00;TI"digest;TI"%acfd51405a11a4d462caa8f35591c44b;FI"
_version;TI"%37d9e9317b7fde5d2addbefd4177a12b;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storytime-1.0.2 spec/dummy/tmp/cache/assets/test/sprockets/d05ddb75a3c9ae08e9757859a5a3c3fb