diff --git a/app/javascript/legacy/common/polyfills.js b/app/javascript/legacy/common/polyfills.js deleted file mode 100644 index 9504f84e..00000000 --- a/app/javascript/legacy/common/polyfills.js +++ /dev/null @@ -1,11 +0,0 @@ -// License: LGPL-3.0-or-later -// Console fallback -if (!window.console) { - window.console = new function() { - this.log = function(str) {} - this.dir = function(str) {} - } -} - -// Promises polyfill -require('es6-promise').polyfill() diff --git a/app/javascript/legacy/page.js b/app/javascript/legacy/page.js index 080ee951..96cb9031 100644 --- a/app/javascript/legacy/page.js +++ b/app/javascript/legacy/page.js @@ -5,7 +5,6 @@ window.appl = require('./common/application_view') // XXX remove window.$ = require('jquery') // XXX remove window.jQuery = window.$ // XXX remove -require('./common/polyfills') require('./common/vendor/jquery.cookie') // XXX remove require('parsleyjs') // XXX remove require('./common/jquery_additions') // XXX remove