mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Merged development into master
This commit is contained in:
commit
9429a0b1d1
1 changed files with 10 additions and 2 deletions
|
@ -9,8 +9,16 @@ module.run [
|
|||
]
|
||||
|
||||
module.config [
|
||||
'$locationProvider', '$stateProvider', '$dialogProvider', 'AngularyticsProvider'
|
||||
(location, state, $dialogProvider, analytics) ->
|
||||
'$locationProvider', '$stateProvider', '$dialogProvider', 'AngularyticsProvider', '$httpProvider'
|
||||
(location, state, $dialogProvider, analytics, $httpProvider) ->
|
||||
|
||||
$httpProvider.interceptors.push [
|
||||
->
|
||||
request: (config) ->
|
||||
return config if !(/^\/?templates\//.test config.url)
|
||||
config.url += '?' + Math.ceil(Math.random() * 1000000)
|
||||
return config
|
||||
]
|
||||
|
||||
analytics.setEventHandlers ['Google']
|
||||
|
||||
|
|
Loading…
Reference in a new issue