Skip to content

Commit ed4c0b3

Browse files
committed
use requirejs-dplugins/Promise! plugin, refs ibm-js/sdk#5
1 parent a2c4c24 commit ed4c0b3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bower.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
"version": "0.4.0",
44
"dependencies": {
55
"dcl": "1.1.x",
6-
"lie": ">=2.8",
76
"requirejs": "2.1.x",
8-
"requirejs-dplugins": "0.4.x"
7+
"requirejs-dplugins": "0.5.x"
98
},
109
"devDependencies": {
1110
"requirejs-domready": "2.0.x"

tests/unit/Destroyable.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ define([
33
"intern/chai!assert",
44
"dcl/advise",
55
"dcl/dcl",
6-
"lie/dist/lie",
6+
"requirejs-dplugins/Promise!",
77
"decor/Destroyable",
88
"decor/Stateful",
99
"decor/features"
@@ -179,7 +179,7 @@ define([
179179
this.res = resolve;
180180
this.cancel = reject;
181181
}.bind(this));
182-
this.then = p.then;
182+
this.then = p.then.bind(p);
183183
}
184184
var W1 = dcl(Destroyable, {
185185
constructor: function () {

0 commit comments

Comments
 (0)