vue-formular
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -23,3 +23,7 @@ String.prototype.ucfirst = require('./lib/helpers/ucfirst'); | ||
type: Object, | ||
required:false | ||
required:false, | ||
default: function() { | ||
return { | ||
} | ||
} | ||
}, | ||
@@ -26,0 +30,0 @@ options:{ |
// just expand to multiple require calls, one for each matched file | ||
require('../templates/*.html', {mode: 'expand'}); | ||
module.exports = function(tpl, replacements) { | ||
module.exports = function(tpl, replacements, template) { | ||
tpl = '../templates/' + tpl + '.html'; | ||
var template = require(tpl); | ||
if (!template) { | ||
tpl = '../templates/' + tpl + '.html'; | ||
template = require(tpl); | ||
} | ||
@@ -9,0 +11,0 @@ for (var replacement in replacements) { |
{ | ||
"name": "vue-formular", | ||
"description": "a comprehensive vue.js form component", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "vue", |
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
41304
862