-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This switches to using npm to manage xhook, which is about as good as vendoring now that we have lockfiles. This also updates some misc stuff int he lockfile, but notably updates xhook several versions forward.
- Loading branch information
Showing
11 changed files
with
1,887 additions
and
2,217 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,22 +9,25 @@ | |
"type": "git", | ||
"url": "https://github.com/jpillora/xdomain" | ||
}, | ||
"keywords": ["cors", "ie8", "polyfill"], | ||
"keywords": [ | ||
"cors", | ||
"ie8", | ||
"polyfill" | ||
], | ||
"author": { | ||
"name": "Jaime Pillora", | ||
"email": "[email protected]" | ||
}, | ||
"scripts": { | ||
"dev": | ||
"parcel watch --no-source-maps --public-url . src/browser.js -o xdomain", | ||
"devfile": | ||
"parcel watch --no-hmr --no-source-maps --public-url . src/browser.js -o xdomain", | ||
"build": | ||
"parcel build --public-url . src/browser.js --no-minify -o xdomain && parcel build src/browser.js --no-source-maps --detailed-report -o xdomain.min" | ||
"dev": "parcel watch --no-source-maps --public-url . src/browser.js -o xdomain", | ||
"devfile": "parcel watch --no-hmr --no-source-maps --public-url . src/browser.js -o xdomain", | ||
"build": "parcel build --public-url . src/browser.js --no-minify -o xdomain && parcel build src/browser.js --no-source-maps --detailed-report -o xdomain.min" | ||
}, | ||
"devDependencies": { | ||
"array.from": "^1.0.3", | ||
"parcel-bundler": "^1.7.0" | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"xhook": "^1.4.9" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
if (!Array.from) { | ||
Array.from = require("array.from").getPolyfill(); | ||
} | ||
const xhook = require("./vendor/xhook"); | ||
const xhook = require("xhook").xhook; | ||
window.xhook = xhook; | ||
const xdomain = require("./index"); | ||
window.xdomain = xdomain; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.