Sha256: 08a6da7f0e815d0f436b497f70204eefb4f8583415f8bca1e002177564eaa215

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"+sprangular/interceptors/railsAssets.js;FI"
pathname;TI"l/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/interceptors/railsAssets.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+$mÑTI"length;TifI"digest;TI"%e30b14a8f5480ea68366b4748e2f87d0;FI"source;TI"f(function() {
  'use strict';
  Sprangular.config(function($provide, $httpProvider, Env) {
    $provide.factory('railsAssetsInterceptor', function() {
      return {
        request: function(config) {
          var assetUrl, url;
          url = config.url.replace(/^[\/]?assets\//, '');
          if (assetUrl = Env.templates[url]) {
            config.url = assetUrl;
          } else if (url.match(/.html$/)) {
            config.url = "/assets/" + url;
          }
          return config;
        }
      };
    });
    return $httpProvider.interceptors.push('railsAssetsInterceptor');
  });

}).call(this);
;TI"dependency_digest;TI"%a6060b3862f3a2647b6d498fd8caeb21;FI"required_paths;T[I"l/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/interceptors/railsAssets.coffee;FI"dependency_paths;T[{I"	path;TI"l/home/josh/Projects/Dynamo/sprangular/app/assets/javascripts/sprangular/interceptors/railsAssets.coffee;FI"
mtime;TI"2015-02-03T19:51:48-05:00;TI"digest;TI"%da46aa21a13cbc8cbcfb88cc6b20a6a2;FI"
_version;TI"%64e62ddc273c2f5847f30d698ca14b67;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
sprangular-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/ec8fbce7a5295fa7b19f90c6df22ed3e
sprangular-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/f35d2e41f67373bdba2dba4fb126c481