Skip to content
Browse files

Merge pull request #27 from wangxiao/master

1.0.6 版本
  • Loading branch information...
2 parents 77cbde5 + 080fd24 commit 36222ddfc4d18934c142b2031064e7a51461ff24 @wangxiao wangxiao committed Nov 30, 2012
Showing with 6 additions and 2 deletions.
  1. +1 −1 README.md
  2. +5 −1 baiduTemplate.js
View
2 README.md
@@ -11,7 +11,7 @@
###change log
###1.0.6:
- 重构代码,修改定义变量的bug
+ 重构代码,修改定义变量的bug,增加对版本号的标注 baidu.template.versions
###1.0.5:
修改可能造成内存泄露的变量及方法直接挂在baidu.template命名空间下
View
6 baiduTemplate.js
@@ -57,7 +57,11 @@
};
//取得命名空间 baidu.template
- bt = baidu.template;
+ var bt = baidu.template;
+
+ //标记当前版本
+ bt.versions = bt.versions || [];
+ bt.versions.push('1.0.6');
//缓存 将对应id模板生成的函数缓存下来。
bt.cache = {};

0 comments on commit 36222dd

Please sign in to comment.
Something went wrong with that request. Please try again.