Skip to content

Commit

Permalink
force new version of lie to get Promise.finally()
Browse files Browse the repository at this point in the history
  • Loading branch information
wkeese committed May 22, 2018
1 parent bb7a69a commit 83383aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ define(["require"], function (require) {
config = config || {};
if (config.isBuild) {
onload();
} else if (typeof Promise === "function") {
} else if (typeof Promise === "function" && Promise.prototype.finally) {
onload(Promise);
} else {
// Use absolute path to allow map configuration.
Expand All @@ -48,4 +48,4 @@ define(["require"], function (require) {
writeFile(url, fs.readFileSync(url));
}
};
});
});
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "requirejs-dplugins",
"version": "0.6.0",
"version": "0.6.1",
"description": "AMD plugins for RequireJS",
"dependencies": {
"lie": ">=2.8",
"lie": ">=3.3",
"requirejs": "2.1.x",
"requirejs-text": "2.0.x",
"requirejs-domready": "2.0.x"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "requirejs-dplugins",
"version": "0.6.0",
"version": "0.6.1",
"description": "AMD plugins for RequireJS",
"devDependencies": {
"grunt": "~0.4.1",
Expand Down

0 comments on commit 83383aa

Please sign in to comment.