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 committed by chris
parent 263cf130e2
commit 0dd1c6eb51
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();