Sha256: c3873288063f5c32d8eec98a5b93f0bed797b0687ad58d31babb77606c95b8d4

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"storytime/utilities.js;FI"
pathname;TI"h/Users/ben/Documents/projects/benroesch.com/storytime/app/assets/javascripts/storytime/utilities.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+oƒqSI"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"dependency_digest;TI"%481d35c4e93a6b4400cf210dfa937fe9;FI"required_paths;T[I"h/Users/ben/Documents/projects/benroesch.com/storytime/app/assets/javascripts/storytime/utilities.js;FI"dependency_paths;T[{I"	path;TI"h/Users/ben/Documents/projects/benroesch.com/storytime/app/assets/javascripts/storytime/utilities.js;FI"
mtime;TI"2014-05-12T21:29:03-05:00;TI"digest;TI"%4899a1168b8ddcd3221c4e8e6ab1cb92;FI"
_version;TI"%361c512b9086418778df946c0d278f91;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storytime-0.0.1 spec/dummy/tmp/cache/assets/development/sprockets/2899787f8d2a2ae6dfbb9276125684c9