vendor/assets/javascripts/webshims/shims/es6.js in webshims-rails-1.14.5 vs vendor/assets/javascripts/webshims/shims/es6.js in webshims-rails-1.14.6
- old
+ new
@@ -1876,12 +1876,8 @@
addIterator(Object.getPrototypeOf((new globals.Map()).keys()));
addIterator(Object.getPrototypeOf((new globals.Set()).keys()));
}
};
- if (typeof define === 'function' && define.amd) {
- define(main); // RequireJS
- } else {
- main(); // CommonJS and <script>
- }
+ main(); // CommonJS and <script>
});