-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(all): prepare release 1.0.0-beta.3.0.0
- Loading branch information
1 parent
01036e7
commit f2be4c2
Showing
23 changed files
with
615 additions
and
39 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,33 @@ System.config({ | |
"aurelia-pal-browser": "npm:[email protected]", | ||
"aurelia-polyfills": "npm:[email protected]", | ||
"aurelia-templating": "npm:[email protected]", | ||
"babel": "npm:[email protected]", | ||
"babel-runtime": "npm:[email protected]", | ||
"core-js": "npm:[email protected]", | ||
"github:jspm/[email protected]": { | ||
"assert": "npm:[email protected]" | ||
}, | ||
"github:jspm/[email protected]": { | ||
"buffer": "npm:[email protected]" | ||
}, | ||
"github:jspm/[email protected]": { | ||
"path-browserify": "npm:[email protected]" | ||
}, | ||
"github:jspm/[email protected]": { | ||
"process": "npm:[email protected]" | ||
}, | ||
"github:jspm/[email protected]": { | ||
"util": "npm:[email protected]" | ||
}, | ||
"github:jspm/[email protected]": { | ||
"vm-browserify": "npm:[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"assert": "github:jspm/[email protected]", | ||
"buffer": "github:jspm/[email protected]", | ||
"process": "github:jspm/[email protected]", | ||
"util": "npm:[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"aurelia-logging": "npm:[email protected]", | ||
"aurelia-metadata": "npm:[email protected]", | ||
|
@@ -127,6 +154,41 @@ System.config({ | |
"aurelia-pal": "npm:[email protected]", | ||
"aurelia-path": "npm:[email protected]", | ||
"aurelia-task-queue": "npm:[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"process": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"base64-js": "npm:[email protected]", | ||
"child_process": "github:jspm/[email protected]", | ||
"fs": "github:jspm/[email protected]", | ||
"ieee754": "npm:[email protected]", | ||
"isarray": "npm:[email protected]", | ||
"process": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"fs": "github:jspm/[email protected]", | ||
"path": "github:jspm/[email protected]", | ||
"process": "github:jspm/[email protected]", | ||
"systemjs-json": "github:systemjs/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"util": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"process": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"assert": "github:jspm/[email protected]", | ||
"fs": "github:jspm/[email protected]", | ||
"vm": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"inherits": "npm:[email protected]", | ||
"process": "github:jspm/[email protected]" | ||
}, | ||
"npm:[email protected]": { | ||
"indexof": "npm:[email protected]" | ||
} | ||
} | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
define(['exports'], function (exports) { | ||
'use strict'; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.waitFor = waitFor; | ||
exports.waitForDocumentElement = waitForDocumentElement; | ||
exports.waitForDocumentElements = waitForDocumentElements; | ||
function waitFor(getter, options) { | ||
var timedOut = false; | ||
|
||
options = Object.assign({ | ||
present: true, | ||
interval: 50, | ||
timeout: 5000 | ||
}, options); | ||
|
||
function wait() { | ||
var element = getter(); | ||
|
||
var found = element !== null && (!(element instanceof NodeList) && !element.jquery || element.length > 0); | ||
|
||
if (!options.present ^ found || timedOut) { | ||
return Promise.resolve(element); | ||
} | ||
|
||
return new Promise(function (rs) { | ||
return setTimeout(rs, options.interval); | ||
}).then(wait); | ||
} | ||
|
||
return Promise.race([new Promise(function (rs, rj) { | ||
return setTimeout(function () { | ||
timedOut = true; | ||
rj(options.present ? 'Element not found' : 'Element not removed'); | ||
}, options.timeout); | ||
}), wait()]); | ||
} | ||
|
||
function waitForDocumentElement(selector, options) { | ||
return waitFor(function () { | ||
return document.querySelector(selector); | ||
}, options); | ||
} | ||
|
||
function waitForDocumentElements(selector, options) { | ||
return waitFor(function () { | ||
return document.querySelectorAll(selector); | ||
}, options); | ||
} | ||
}); |
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.