Merge pull request #234 from Arkni/remove-es5-shim
Stop including `es5-shim`
This commit is contained in:
commit
474cc6ca7e
@ -17,7 +17,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^1.0.0",
|
"chalk": "^1.0.0",
|
||||||
"es5-shim": "^4.0.1",
|
|
||||||
"grunt-lib-phantomjs": "^1.0.0",
|
"grunt-lib-phantomjs": "^1.0.0",
|
||||||
"jasmine-core": "^2.2.0",
|
"jasmine-core": "^2.2.0",
|
||||||
"lodash": "~2.4.1",
|
"lodash": "~2.4.1",
|
||||||
|
@ -65,8 +65,6 @@ exports.init = function(grunt, phantomjs) {
|
|||||||
|
|
||||||
exports.copyTempFile(path.join(jasmineRequire.files.imagesDir, 'jasmine_favicon.png'), 'jasmine_favicon.png');
|
exports.copyTempFile(path.join(jasmineRequire.files.imagesDir, 'jasmine_favicon.png'), 'jasmine_favicon.png');
|
||||||
|
|
||||||
exports.copyTempFile(require.resolve('es5-shim/es5-shim.js'), 'es5-shim.js');
|
|
||||||
|
|
||||||
var reporters = [
|
var reporters = [
|
||||||
tempDir + '/reporter.js'
|
tempDir + '/reporter.js'
|
||||||
];
|
];
|
||||||
@ -77,9 +75,7 @@ exports.init = function(grunt, phantomjs) {
|
|||||||
|
|
||||||
jasmineCss = jasmineCss.concat(options.styles);
|
jasmineCss = jasmineCss.concat(options.styles);
|
||||||
|
|
||||||
var polyfills = [
|
var polyfills = [].concat(options.polyfills);
|
||||||
tempDir + '/es5-shim.js'
|
|
||||||
].concat(options.polyfills);
|
|
||||||
|
|
||||||
var jasmineCore = jasmineRequire.files.jsFiles.map(function(name) {
|
var jasmineCore = jasmineRequire.files.jsFiles.map(function(name) {
|
||||||
return path.join(tempDir, name);
|
return path.join(tempDir, name);
|
||||||
|
Loading…
Reference in New Issue
Block a user