encoding fixed

Maybe there are some "chinese" in galleryAPI.js.erb and Ruby treat them
all US-ASCII, so everything crash.
see this post
"http://stackoverflow.com/questions/7761540/encoding-issues-in-javascrip
t-files-using-rails-asset-pipeline"
This commit is contained in:
devin 2012-08-06 22:11:36 +08:00
parent a08f85a3e2
commit 0f5707394b
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
<%# encoding: utf-8 %>
var galleryAPI = function(){ var galleryAPI = function(){
g = this; g = this;
this.urlVars = rcom.getUrlVars(); this.urlVars = rcom.getUrlVars();