Skip to content

Commit 453f845

Browse files
denisxForbesLindesay
authored andcommittedJun 8, 2016
semicolon fix (#127)
1 parent 1c5fcf2 commit 453f845

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎src/core.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function safeThen(self, onFulfilled, onRejected) {
8484
res.then(resolve, reject);
8585
handle(self, new Handler(onFulfilled, onRejected, res));
8686
});
87-
};
87+
}
8888
function handle(self, deferred) {
8989
while (self._state === 3) {
9090
self = self._value;
@@ -205,7 +205,7 @@ function doResolve(fn, promise) {
205205
if (done) return;
206206
done = true;
207207
reject(promise, reason);
208-
})
208+
});
209209
if (!done && res === IS_ERROR) {
210210
done = true;
211211
reject(promise, LAST_ERROR);

‎src/node-extensions.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Promise.denodeify = function (fn, argumentCount) {
1818
} else {
1919
return denodeifyWithoutCount(fn);
2020
}
21-
}
21+
};
2222

2323
var callbackFn = (
2424
'function (err, res) {' +
@@ -113,7 +113,7 @@ Promise.nodeify = function (fn) {
113113
}
114114
}
115115
}
116-
}
116+
};
117117

118118
Promise.prototype.nodeify = function (callback, ctx) {
119119
if (typeof callback != 'function') return this;
@@ -127,4 +127,4 @@ Promise.prototype.nodeify = function (callback, ctx) {
127127
callback.call(ctx, err);
128128
});
129129
});
130-
}
130+
};

0 commit comments

Comments
 (0)
Please sign in to comment.