app/assets/javascripts/i18n.js in i18n-js-3.0.0.rc9 vs app/assets/javascripts/i18n.js in i18n-js-3.0.0.rc10
- old
+ new
@@ -16,10 +16,11 @@
if (typeof module !== 'undefined' && module.exports) {
// Node/CommonJS
module.exports = factory(this);
} else if (typeof define === 'function' && define.amd) {
// AMD
- define('i18n', (function(global){ return function(){ return factory(global); }})(this));
+ var global=this;
+ define('i18n', function(){ return factory(global);});
} else {
// Browser globals
this.I18n = factory(this);
}
}(function(global) {