laytpl 去掉无用的 console.log()
This commit is contained in:
@@ -90,7 +90,6 @@ Tpl.pt.render = function(data, callback){
|
|||||||
var that = this, tpl;
|
var that = this, tpl;
|
||||||
if(!data) return tool.error('no data');
|
if(!data) return tool.error('no data');
|
||||||
tpl = that.cache ? that.cache(data, tool.escape) : that.parse(that.tpl, data);
|
tpl = that.cache ? that.cache(data, tool.escape) : that.parse(that.tpl, data);
|
||||||
console.log()
|
|
||||||
if(!callback) return tpl;
|
if(!callback) return tpl;
|
||||||
callback(tpl);
|
callback(tpl);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user