Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

can-stache-bindings

Package Overview
Dependencies
Maintainers
16
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-stache-bindings - npm Package Compare versions

Comparing version 5.0.0-pre.4 to 5.0.0-pre.5

.npmignore

7

can-stache-bindings.js

@@ -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) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc