can-stache-bindings
Advanced tools
Comparing version 4.0.0-pre.34 to 4.0.0-pre.35
{ | ||
"name": "can-stache-bindings", | ||
"version": "4.0.0-pre.34", | ||
"version": "4.0.0-pre.35", | ||
"description": "Default binding syntaxes for can-stache", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-stache-bindings.html", |
@@ -16,3 +16,4 @@ var QUnit = require('steal-qunit'); | ||
var domMutate = require('can-dom-mutate/node'); | ||
var domMutate = require('can-dom-mutate'); | ||
var domMutateNode = require('can-dom-mutate/node'); | ||
var domEvents = require('can-dom-events'); | ||
@@ -469,3 +470,3 @@ | ||
var frag = template(viewModel); | ||
domMutate.appendChild.call(this.fixture, frag); | ||
domMutateNode.appendChild.call(this.fixture, frag); | ||
@@ -507,3 +508,3 @@ var input = this.fixture.firstChild; | ||
var frag = template(viewModel); | ||
domMutate.appendChild.call(this.fixture, frag); | ||
domMutateNode.appendChild.call(this.fixture, frag); | ||
@@ -515,3 +516,4 @@ var input = this.fixture.firstChild; | ||
viewModel.bindValue = "lastName"; | ||
testHelpers.afterMutation(function() { | ||
var undo = domMutate.onNodeAttributeChange(input, function() { | ||
undo(); | ||
assert.equal(input.value, "king"); | ||
@@ -536,3 +538,3 @@ | ||
var ta = this.fixture; | ||
domMutate.appendChild.call(ta,frag); | ||
domMutateNode.appendChild.call(ta,frag); | ||
@@ -542,3 +544,3 @@ QUnit.stop(); | ||
testHelpers.afterMutation(function(){ | ||
domMutate.removeChild.call(ta, ta.firstChild); | ||
domMutateNode.removeChild.call(ta, ta.firstChild); | ||
// still 1 binding, should be 0 | ||
@@ -610,3 +612,3 @@ testHelpers.afterMutation(function(){ | ||
var fragment = template(data); | ||
domMutate.appendChild.call(this.fixture, fragment); | ||
domMutateNode.appendChild.call(this.fixture, fragment); | ||
@@ -666,3 +668,3 @@ var self = this; | ||
domMutate.appendChild.call(this.fixture, frag); | ||
domMutateNode.appendChild.call(this.fixture, frag); | ||
@@ -679,3 +681,3 @@ var input = this.fixture.getElementsByTagName('input')[0]; | ||
domMutate.appendChild.call(this.fixture, frag); | ||
domMutateNode.appendChild.call(this.fixture, frag); | ||
@@ -699,3 +701,3 @@ var input = this.fixture.getElementsByTagName('input')[0]; | ||
domMutate.appendChild.call(this.fixture, frag); | ||
domMutateNode.appendChild.call(this.fixture, frag); | ||
@@ -1155,3 +1157,3 @@ var input = this.fixture.getElementsByTagName('input')[0]; | ||
var frag = template(map); | ||
domMutate.appendChild.call(this.fixture, frag); | ||
domMutateNode.appendChild.call(this.fixture, frag); | ||
@@ -1158,0 +1160,0 @@ var nullInput = doc.getElementById("null-select"); |
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
189048
4342