Skip to content

Commit

Permalink
Common vendor files was moved to abstract env
Browse files Browse the repository at this point in the history
  • Loading branch information
maZahaca committed Oct 6, 2017
1 parent 931b4df commit 82293b5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 19 deletions.
4 changes: 2 additions & 2 deletions lib/PhantomEnvironment.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,8 @@ class PhantomEnvironment extends AbstractEnvironment {
_inject() {
debug('.inject()-ing parser libs');
const files = [
'vendor/sizzle.min.js',
'vendor/xhr.sniffer.js',
require.resolve('goose-abstract-environment/vendor/sizzle.min.js'),
require.resolve('goose-abstract-environment/vendor/xhr.sniffer.js'),
];
return this._injectFiles(files);
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "1.0.4",
"version": "1.0.5",
"name": "goose-phantom-environment",
"main": "lib/PhantomEnvironment.js",
"repository": "redco/goose-phantom-environment",
Expand All @@ -9,7 +9,7 @@
"dependencies": {
"babel-polyfill": "^6.23.0",
"debug": "^3.0.1",
"goose-abstract-environment": "1.0.4",
"goose-abstract-environment": "1.0.6",
"lodash": "^4.17.4",
"mkdir-p": "^0.0.7",
"phantom": "^0.8.4",
Expand Down
1 change: 0 additions & 1 deletion vendor/sizzle.min.js

This file was deleted.

Loading

0 comments on commit 82293b5

Please sign in to comment.