Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 2 contributors
Commits on May 22, 2012
@wangxiao wangxiao 1.0.1版 aefe0d4
百度FE Merge pull request #6 from wangxiao/master
1.0.1版本
f4ae0cc
View
BIN JS模板引擎功能说明及单元测试用例.pdf
Binary file not shown.
View
2 baiduTemplate.js
@@ -84,7 +84,7 @@
//将字符串拼接生成函数,即编译过程(compile)
var compile = function(str){
return new Function("_template_object",
- "var _template_fun_array=[];"+"with(_template_object){_template_fun_array.push('"+analysisStr(str)+"');}return _template_fun_array.join('');"
+ "var _template_fun_array=[];with(_template_object){_template_fun_array.push('"+analysisStr(str)+"');}return _template_fun_array.join('');"
);
};
View
BIN mind picture.pdf
Binary file not shown.

No commit comments for this range

Something went wrong with that request. Please try again.