mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Removed unused function
This commit is contained in:
parent
03521818d3
commit
aca0b83862
@ -29,18 +29,6 @@ function createOut(globalData) {
|
||||
|
||||
var extend = require('raptor-util/extend');
|
||||
|
||||
function renderCallback(renderFunc, data, globalData, callback) {
|
||||
var out = new AsyncVDOMBuilder(globalData);
|
||||
|
||||
renderFunc(data, out);
|
||||
|
||||
return out.end()
|
||||
.on('finish', function() {
|
||||
callback(null, out.getOutput(), out);
|
||||
})
|
||||
.once('error', callback);
|
||||
}
|
||||
|
||||
function Template(path, func) {
|
||||
this.path = path;
|
||||
this._ = func;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user