Skip to content

Commit

Permalink
Merge pull request #6 from wangxiao/master
Browse files Browse the repository at this point in the history
1.0.1版本
  • Loading branch information
百度FE committed May 22, 2012
2 parents 2db0e4c + aefe0d4 commit f4ae0cc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file removed JS模板引擎功能说明及单元测试用例.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion baiduTemplate.js
Expand Up @@ -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('');"
);
};

Expand Down
Binary file added mind picture.pdf
Binary file not shown.

0 comments on commit f4ae0cc

Please sign in to comment.