Add Function#bind polyfill to placate PhantomJS

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2263/head
Alex Coles 10 years ago
parent 067ccd2ba9
commit b02a4808b2
  1. 4
      frontend/app/global.js
  2. 1
      frontend/package.json

@ -30,6 +30,10 @@
//
// dependencies required by classic (Rails) and Angular application.
// NOTE: currently needed for PhantomJS to support Webpack's style-loader.
// See: https://github.com/webpack/style-loader/issues/31
require('polyfill-function-prototype-bind');
require('jquery');
require('jquery-migrate/jquery-migrate');
require('jquery-ujs');

@ -45,6 +45,7 @@
"file-loader": "^0.8.1",
"json-loader": "^0.5.1",
"lodash": "^2.4.1",
"polyfill-function-prototype-bind": "0.0.1",
"shelljs": "^0.3.0",
"style-loader": "^0.8.2",
"url-loader": "^0.5.5",

Loading…
Cancel
Save