grunt-wigitor
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "grunt-wigitor" | ||
,"description": "A demo builder for 'widgets' - a specific UI module setup" | ||
,"version": "0.1.4" | ||
,"version": "0.1.5" | ||
,"author": { | ||
@@ -11,3 +11,3 @@ "name": "Jim Doyle" | ||
"type": "git" | ||
,"wiki": "https://github.com/digitor/wigitor.git" | ||
,"wiki": "https://github.com/digitor/grunt-wigitor.git" | ||
} | ||
@@ -14,0 +14,0 @@ ,"engines": { |
@@ -65,6 +65,8 @@ # Grunt Wigitor | ||
- widgetDirName {string}: The name of your widgets directory. Defaults to "widgets". | ||
- forceTemplateType {string}: Override any local options for widget `templateType`. Defaults to `null`. | ||
Releases | ||
- 0.1.4: Added widgetDirName and bug fix for `dest` arg in `writeDemo` function. | ||
- 0.1.5: Added 'forceTemplateType' and bug fix for `dest` arg in `writeDemo` function. | ||
- 0.1.4: Added 'widgetDirName' and bug fix for `dest` arg in `writeDemo` function. | ||
- 0.1.3: Added 'strictName' option. | ||
@@ -71,0 +73,0 @@ - 0.1.2: Bug fixes around containerClasses after tested in the wild. Added options 'containerClasses' & 'pageTemplate'. |
@@ -46,2 +46,3 @@ "use strict"; | ||
,widgetDirName: "widgets" | ||
,forceTemplateType: null | ||
}); | ||
@@ -246,6 +247,7 @@ | ||
var wgtContent; | ||
var wgtContent | ||
,templateType = pluginCnf.forceTemplateType || (wgtOpts.templateType || "ejs"); | ||
// defaults to "ejs" | ||
if( !wgtOpts.templateType || wgtOpts.templateType === "ejs" ) { | ||
if( templateType === "ejs" ) { | ||
@@ -252,0 +254,0 @@ // This is a polyfill for "grunt-ejs-render" method |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
180356
1238
74