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