diff --git a/Promise.js b/Promise.js index ec9c8df..be40c99 100644 --- a/Promise.js +++ b/Promise.js @@ -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. @@ -48,4 +48,4 @@ define(["require"], function (require) { writeFile(url, fs.readFileSync(url)); } }; -}); \ No newline at end of file +}); diff --git a/bower.json b/bower.json index 3787943..6784a54 100644 --- a/bower.json +++ b/bower.json @@ -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" diff --git a/package.json b/package.json index 90d3b30..583aec7 100644 --- a/package.json +++ b/package.json @@ -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",