can-stache-bindings
Advanced tools
Comparing version 5.0.0-pre.4 to 5.0.0-pre.5
@@ -54,3 +54,4 @@ "use strict"; | ||
viewModelOrAttributeBindingStr = "viewModelOrAttribute", | ||
viewModelSymbol = canSymbol.for("can.viewModel"); | ||
viewModelSymbol = canSymbol.for("can.viewModel"), | ||
preventDataBindingsSymbol = canSymbol.for("can.preventDataBindings"); | ||
@@ -406,3 +407,3 @@ var throwOnlyOneTypeOfBindingError = function() { | ||
data: function(el, attrData) { | ||
if (domData.get(el, "preventDataBindings")) { | ||
if (el[preventDataBindingsSymbol] === true || domData.get(el, "preventDataBindings")) { | ||
return; | ||
@@ -1079,3 +1080,3 @@ } | ||
//!steal-remove-end | ||
var bindingOptions = { | ||
@@ -1082,0 +1083,0 @@ child: childObservable, |
{ | ||
"name": "can-stache-bindings", | ||
"version": "5.0.0-pre.4", | ||
"version": "5.0.0-pre.5", | ||
"description": "Default binding syntaxes for can-stache", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-stache-bindings.html", |
@@ -29,3 +29,4 @@ var stacheBindings = require('can-stache-bindings'); | ||
el.viewModel = viewModel; | ||
domData.set(el, "preventDataBindings", true); | ||
el[canSymbol.for('can.preventDataBindings')] = true; | ||
//domData.set(el, "preventDataBindings", true); | ||
@@ -32,0 +33,0 @@ if(proto.template) { |
@@ -27,3 +27,3 @@ var stacheBindings = require('can-stache-bindings'); | ||
el.viewModel = viewModel; | ||
domData.set(el, "preventDataBindings", true); | ||
el[canSymbol.for('can.preventDataBindings')] = true; | ||
@@ -30,0 +30,0 @@ if(proto.template) { |
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
219819
31
4286