Exemplo n.º 1
0
 fs.readFile(viewsPath + '/publish.ejs', 'utf8', function (err, data) {
   __compiledPublishEJSTemplate = ejs.compile(data);
 });
Exemplo n.º 2
0
 fs.readFile(viewsPath + '/install.ejs', 'utf8', function (err, installHTMLData) {
   templates.install = ejs.compile(installHTMLData, {
     // for partial include access
     filename: viewsPath + '/publish.ejs'
   });
 });
Exemplo n.º 3
0
 fs.readFile(viewsPath + '/publish.ejs', 'utf8', function (err, publishHTMLData) {
   __publisher.templates.publish = ejs.compile(publishHTMLData, {
     // for partial include access
     filename: viewsPath + '/publish.ejs'
   });
 });