mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
10 lines
239 B
JavaScript
10 lines
239 B
JavaScript
exports.templateData = {
|
|
promiseData: function (arg, done) {
|
|
return new Promise(function(resolve, reject) {
|
|
setTimeout(function() {
|
|
resolve('Test promise');
|
|
}, 100);
|
|
});
|
|
}
|
|
};
|