Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
1. 添加异常捕获功能,新增error配置参数
2. 修改编译算法,不再使用正则匹配,提升性能
  • Loading branch information
yanhaijing committed Mar 16, 2015
1 parent caa3c02 commit d68c028
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.4.0 / 2015-3-16
- 添加异常捕获功能,新增error配置参数
- 修改编译算法,不再使用正则匹配,提升性能

# 0.3.1 / 2015-3-12
- fix 当属性名为data时,若未传入默认注入对象问题,已更改为__data__,不可传入同名属性

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [template.js](https://github.com/yanhaijing/template.js) [![Build Status](https://travis-ci.org/yanhaijing/template.js.svg?branch=master)](https://travis-ci.org/yanhaijing/template.js) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![release](https://img.shields.io/badge/release-v0.3.1-orange.svg)](https://github.com/yanhaijing/template.js/releases/tag/v0.3.1) [![spm package](http://spmjs.io/badge/template.js)](http://spmjs.io/package/template.js) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/yanhaijing/template.js/blob/master/MIT-LICENSE.txt)
# [template.js](https://github.com/yanhaijing/template.js) [![Build Status](https://travis-ci.org/yanhaijing/template.js.svg?branch=master)](https://travis-ci.org/yanhaijing/template.js) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![release](https://img.shields.io/badge/release-v0.4.0-orange.svg)](https://github.com/yanhaijing/template.js/releases/tag/v0.4.0) [![spm package](http://spmjs.io/badge/template.js)](http://spmjs.io/package/template.js) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/yanhaijing/template.js/blob/master/MIT-LICENSE.txt)

template.js 一款javascript模板引擎,简单,好用。

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "template.js",
"main": "template.js",
"version": "0.3.1",
"version": "0.4.0",
"homepage": "https://github.com/yanhaijing/template.js",
"authors": [
"yanhaijing <yanhaijing@yeah.net>"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "template_js",
"description": "template.js 一款javascript模板引擎,简单,好用。",
"version": "0.3.1",
"version": "0.4.0",
"homepage": "https://github.com/yanhaijing/template.js",
"author": {
"name": "yanhaijing",
Expand Down
4 changes: 2 additions & 2 deletions template.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* template.js v0.3.1 (https://github.com/yanhaijing/template.js)
* template.js v0.4.0 (https://github.com/yanhaijing/template.js)
* Copyright 2015 yanhaijing. All Rights Reserved
* Licensed under MIT (https://github.com/yanhaijing/template.js/blob/master/MIT-LICENSE.txt)
*/
Expand Down Expand Up @@ -217,6 +217,6 @@

template.__encodeHTML = encodeHTML;
template.__compile = compile;
template.version = '0.3.1';
template.version = '0.4.0';
return template;
}));

0 comments on commit d68c028

Please sign in to comment.