periodicjs.core.controllerhelper
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -10,3 +10,3 @@ /* | ||
var fs = require('fs-extra'); | ||
var fs = require('fs-extra'),path = require('path'); | ||
/** | ||
@@ -34,10 +34,10 @@ * A module that represents a extension manager. | ||
var extname = options.extname || '', | ||
// themename = options.themename, | ||
themename = options.themename, | ||
theme = options.theme, | ||
viewname = options.viewname, | ||
// themefileext = options.themefileext, | ||
themetemplatefile = options.themetemplatefile, | ||
exttemplatefile = options.exttemplatefile; | ||
// themetemplatefile = path.join(path.resolve(__dirname, '../../content/themes'), themename, 'views', viewname + '.' + themefileext), | ||
// exttemplatefile = path.join(path.resolve(process.cwd(), './node_modules', extname), 'views', viewname + '.' + themefileext); | ||
themefileext = options.themefileext, | ||
// themetemplatefile = options.themetemplatefile, | ||
// exttemplatefile = options.exttemplatefile, | ||
themetemplatefile = path.join(path.resolve(process.cwd(), './content/themes'), themename, 'views', viewname + '.' + themefileext), | ||
exttemplatefile = path.join(path.resolve(process.cwd(), './node_modules', extname), 'views', viewname + '.' + themefileext); | ||
@@ -44,0 +44,0 @@ var getExtensionView = function (viewname, callback) { |
{ | ||
"name": "periodicjs.core.controllerhelper", | ||
"description": "Customizable CMS platform", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17161