From ae843591da0fea1a57684f26737be0b484718809 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 5 Oct 2016 17:49:19 -0400 Subject: okpush template stuff --- app/index.js | 7 ++++--- app/node_modules/oktemplate/index.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'app') diff --git a/app/index.js b/app/index.js index 34964de..b555b9a 100644 --- a/app/index.js +++ b/app/index.js @@ -51,8 +51,7 @@ function OKCMS(options) { var adminLibRoot = this._adminLibRoot = adminConfig.libRoot || path.join(__dirname, '../themes/okadmin/public'); var adminTemplateRoot = adminConfig.templateRoot || - path.join(__dirname, '../themes/okadmin/templates'); -console.log(adminTheme, adminRoot) + path.join(__dirname, '../themes/okadmin/templates'); var debug = !!options.debug; var production = !!options.production; @@ -126,9 +125,11 @@ console.log(adminTheme, adminRoot) break default: services[key] = config.lib({ - db: resourceCache, express: express, config: config, + meta: meta, + db: resourceCache, + errorHandler: errorHandler, }); break } diff --git a/app/node_modules/oktemplate/index.js b/app/node_modules/oktemplate/index.js index ae9d1b1..2264938 100644 --- a/app/node_modules/oktemplate/index.js +++ b/app/node_modules/oktemplate/index.js @@ -37,7 +37,7 @@ var filters = { }; /** - * Manages templates. Only supports Mustache currently/ + * Manages templates. Only supports Liquid currently/ */ function OKTemplateRepo(options) { options = options || {}; -- cgit v1.2.3-70-g09d2