Skip to content

Commit

Permalink
Fix for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-sky committed Dec 5, 2018
1 parent 9135a74 commit bb2a680
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## [v0.4.14] 2018.12.05

* 🐞 修复`for`标签bug。

## [v0.4.13] 2018.10.17

* 🌟 改进`for`标签语法。
Expand Down
4 changes: 2 additions & 2 deletions dist/nornj.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* NornJ template engine v0.4.13
* NornJ template engine v0.4.14
* (c) 2016-2018 Joe_Sky
* Released under the MIT License.
*/
Expand Down Expand Up @@ -1154,7 +1154,7 @@ var extensions = {
}
});
} else if (options.props) {
step = options.props.step;
step = options.props.step || 1;
}

var ret = void 0,
Expand Down
4 changes: 2 additions & 2 deletions dist/nornj.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* NornJ template engine v0.4.13
* NornJ template engine v0.4.14
* (c) 2016-2018 Joe_Sky
* Released under the MIT License.
*/
Expand Down Expand Up @@ -1150,7 +1150,7 @@ var extensions = {
}
});
} else if (options.props) {
step = options.props.step;
step = options.props.step || 1;
}

var ret = void 0,
Expand Down
4 changes: 2 additions & 2 deletions dist/nornj.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* NornJ template engine v0.4.13
* NornJ template engine v0.4.14
* (c) 2016-2018 Joe_Sky
* Released under the MIT License.
*/
Expand Down Expand Up @@ -1156,7 +1156,7 @@ var extensions = {
}
});
} else if (options.props) {
step = options.props.step;
step = options.props.step || 1;
}

var ret = void 0,
Expand Down
4 changes: 2 additions & 2 deletions dist/nornj.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/nornj.runtime.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* NornJ template engine v0.4.13
* NornJ template engine v0.4.14
* (c) 2016-2018 Joe_Sky
* Released under the MIT License.
*/
Expand Down Expand Up @@ -934,7 +934,7 @@ var extensions = {
}
});
} else if (options.props) {
step = options.props.step;
step = options.props.step || 1;
}

var ret = void 0,
Expand Down
4 changes: 2 additions & 2 deletions dist/nornj.runtime.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* NornJ template engine v0.4.13
* NornJ template engine v0.4.14
* (c) 2016-2018 Joe_Sky
* Released under the MIT License.
*/
Expand Down Expand Up @@ -930,7 +930,7 @@ var extensions = {
}
});
} else if (options.props) {
step = options.props.step;
step = options.props.step || 1;
}

var ret = void 0,
Expand Down
4 changes: 2 additions & 2 deletions dist/nornj.runtime.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* NornJ template engine v0.4.13
* NornJ template engine v0.4.14
* (c) 2016-2018 Joe_Sky
* Released under the MIT License.
*/
Expand Down Expand Up @@ -936,7 +936,7 @@ var extensions = {
}
});
} else if (options.props) {
step = options.props.step;
step = options.props.step || 1;
}

var ret = void 0,
Expand Down
4 changes: 2 additions & 2 deletions dist/nornj.runtime.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nornj",
"version": "0.4.13",
"version": "0.4.14",
"description": "A multipurpose javascript template engine, support both the rendering string and the react component.",
"main": "dist/nornj.common.js",
"module": "dist/nornj.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export const extensions = {
});
}
else if (options.props) {
step = options.props.step;
step = options.props.step || 1;
}

let ret, useString = options.useString;
Expand Down

0 comments on commit bb2a680

Please sign in to comment.