slot-framework
Version:
Closing the gap between server and client side, Slot is a Cross Side Web Framework that let you reuse the same code on client and server side
24 lines (20 loc) • 378 B
Plain Text
/**
* Created using Slot Framework
* {@pc-machine@} on {@date@}
*
* {@message@}:
* {@page@}
*/
/**
* Container for all fragments used in the web page
* @constructor
*/
function Fragments() {
}
{@objectsDef@}
var page = new function () {
this.layouts = new function () {{@layouts@}
}
}
main.prototype.fragments = new Fragments();
module.exports.model = main;