ampersand-virtual-dom-mixin
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -13,2 +13,3 @@ var parse = require('html-parse-stringify').parse; | ||
}, | ||
renderOnModelChange: function () { | ||
@@ -19,3 +20,4 @@ if (this.model) { | ||
}, | ||
renderWithTemplate: function () { | ||
renderWithTemplate: function (spec) { | ||
var firstRender = !this.tree || !this.el; | ||
@@ -27,3 +29,3 @@ var renderedTemplate, newTree; | ||
} else { | ||
renderedTemplate = this.template(this); | ||
renderedTemplate = this.template(spec || this); | ||
} | ||
@@ -45,3 +47,3 @@ | ||
}, | ||
tovdom: function (ast) { | ||
@@ -48,0 +50,0 @@ if (ast.type === 'text') { |
{ | ||
"name": "ampersand-virtual-dom-mixin", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "amp-is-string": "^1.0.0", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4665
1