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:
parent
a08f85a3e2
commit
0f5707394b
|
@ -1,3 +1,4 @@
|
|||
<%# encoding: utf-8 %>
|
||||
var galleryAPI = function(){
|
||||
g = this;
|
||||
this.urlVars = rcom.getUrlVars();
|
||||
|
|
Loading…
Reference in New Issue