Sha256: 8d553ad49afaa7c13e4c7f2a99f3d77d2ae6092c90b8de5a26d33c634d1631cb
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
Sprangular.config ($provide, $httpProvider) -> $provide.factory 'shapingInterceptor', -> response: (response) -> cls = response.config.class if cls Sprangular.extend(response.data, cls) else response $httpProvider.interceptors.push('shapingInterceptor')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sprangular-0.1.0 | app/assets/javascripts/sprangular/interceptors/shaping.coffee |
sprangular-0.0.1 | app/assets/javascripts/sprangular/interceptors/shaping.coffee |