Commit b96f8364 authored by Randall Leeds's avatar Randall Leeds

Partially revert polyfill changes

It turns out IE10 doesn't have the URL constructor and somehow I
misinterpreted the MDN docs.

The bind polyfill still isn't needed, except by PhantomJS.

It also seems silly not to just include wgxpath without npm. Save
the browserify-ing step.
parent 3e23eb9b
...@@ -30,16 +30,16 @@ module.exports = function(config) { ...@@ -30,16 +30,16 @@ module.exports = function(config) {
'vendor/annotator.js', 'vendor/annotator.js',
'vendor/katex.js', 'vendor/katex.js',
// These are needed until PhantomJS 2.0
'../../../node_modules/es6-promise/dist/es6-promise.js',
'vendor/bind.js',
'vendor/url.js',
// Test deps // Test deps
'../../../node_modules/angular-mocks/angular-mocks.js', '../../../node_modules/angular-mocks/angular-mocks.js',
'../../templates/client/*.html', '../../templates/client/*.html',
'test/bootstrap.js', 'test/bootstrap.js',
// These are needed until PhantomJS 2.0
'../../../node_modules/es6-promise/dist/es6-promise.js',
'test/polyfills/bind.js',
'test/polyfills/url.js',
// Tests // Tests
'**/*-test.coffee', '**/*-test.coffee',
'**/*-test.js' '**/*-test.js'
......
This diff is collapsed.
...@@ -41,8 +41,7 @@ ...@@ -41,8 +41,7 @@
"raf": "^3.1.0", "raf": "^3.1.0",
"showdown": "^1.2.1", "showdown": "^1.2.1",
"uglify-js": "^2.4.14", "uglify-js": "^2.4.14",
"unorm": "^1.3.3", "unorm": "^1.3.3"
"wgxpath": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"chai": "^3.2.0", "chai": "^3.2.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment