Skip to content

Commit 83383aa

Browse files
committed
force new version of lie to get Promise.finally()
1 parent bb7a69a commit 83383aa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Promise.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ define(["require"], function (require) {
2727
config = config || {};
2828
if (config.isBuild) {
2929
onload();
30-
} else if (typeof Promise === "function") {
30+
} else if (typeof Promise === "function" && Promise.prototype.finally) {
3131
onload(Promise);
3232
} else {
3333
// Use absolute path to allow map configuration.
@@ -48,4 +48,4 @@ define(["require"], function (require) {
4848
writeFile(url, fs.readFileSync(url));
4949
}
5050
};
51-
});
51+
});

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "requirejs-dplugins",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "AMD plugins for RequireJS",
55
"dependencies": {
6-
"lie": ">=2.8",
6+
"lie": ">=3.3",
77
"requirejs": "2.1.x",
88
"requirejs-text": "2.0.x",
99
"requirejs-domready": "2.0.x"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "requirejs-dplugins",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "AMD plugins for RequireJS",
55
"devDependencies": {
66
"grunt": "~0.4.1",

0 commit comments

Comments
 (0)