removed set and default locale from app.coffee
This commit is contained in:
parent
5500dbb31c
commit
67b970015f
|
@ -145,13 +145,6 @@ unless window.TravisApplication
|
|||
$('#repo').append(element)
|
||||
Em.run.later (-> element.remove()), 10
|
||||
|
||||
setLocale: (locale) ->
|
||||
return unless locale
|
||||
I18n.locale = locale
|
||||
Travis.set('locale', locale)
|
||||
|
||||
defaultLocale: 'en'
|
||||
|
||||
ready: ->
|
||||
location.href = location.href.replace('#!/', '') if location.hash.slice(0, 2) == '#!'
|
||||
I18n.fallbacks = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user