Skip to content

Commit d4c8523

Browse files
author
Pierre Guillemot
committed
Fixed casing
1 parent c98244a commit d4c8523

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/es6-promise/polyfill.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ export default function polyfill() {
1919
var P = local.Promise;
2020

2121
if (P) {
22-
var promisetoString = null;
22+
var promiseToString = null;
2323
try {
24-
promisetoString = Object.prototype.toString.call(P.resolve());
24+
promiseToString = Object.prototype.toString.call(P.resolve());
2525
} catch(e) {
2626
// silently ignored
2727
}
2828

29-
if (promisetoString === '[object Promise]' && !P.cast){
29+
if (promiseToString === '[object Promise]' && !P.cast){
3030
return;
3131
}
3232
}

0 commit comments

Comments
 (0)