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 authored and chris committed 2012-08-20 23:16:54 +08:00
1 parent 263cf130e2
commit 0dd1c6eb51
1 file changed
+1
@@ -1,3 +1,4 @@
<%# encoding: utf-8 %>
var galleryAPI = function(){
g = this;
this.urlVars = rcom.getUrlVars();