Sha256: a09698e0d537826bee7c14daaf7a235a10e982a80c58fc5a6f05c53f68e30ee2

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

# //= require dateparser
angular.factories
  .factory 'DateConverterInterceptor', ($q, $rootScope) ->
    request: (config)          -> config
    requestError: (rejection)  -> $q.reject(rejection)
    response: (response)       ->
      new DateParser(response.data).evaluate()
      response
    responseError: (rejection) -> $q.reject(rejection)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
material_raingular-0.1.8 lib/assets/javascripts/dateconverter.coffee