fixed a spelling error

master
宇天 2018-05-25 18:48:06 +08:00
parent a863fc891b
commit 8abd6982ec
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
1.0.0 / 2018-05-25
1.0.1 / 2018-05-25
==================
* delete global extends
* add Promise.defer extend

View File

@ -83,7 +83,7 @@ if (!Date.prototype.format) {
D: dt.day
}
for (let i in re) {
for (let i in reg) {
str = str.replace(new RegExp(i, 'g'), reg[i])
}
return str

View File

@ -1,6 +1,6 @@
{
"name": "es.shim",
"version": "1.0.0",
"version": "1.0.1",
"description": "Some shim api that let you can use in all node.js environment",
"keyworks": [
"es5",