修复写法。

This commit is contained in:
Yudong
2014-09-30 14:07:23 +08:00
parent bc8788bdfc
commit e408b14c61

View File

@@ -52,7 +52,7 @@ $ ->
current_version = "#{($ 'body').data 'locale'}"
if client_version == current_version
window.i18n_data = JSON.parse(localStorage.getItem 'locale_content')
window.i18n_data = JSON.parse localStorage.getItem 'locale_content'
else
$.getJSON "/locale/#{$.cookie('language')}", (data) ->
window.i18n_data = data