can-stache-bindings
Advanced tools
Comparing version 4.0.0-pre.12 to 4.0.0-pre.13
{ | ||
"name": "can-stache-bindings", | ||
"version": "4.0.0-pre.12", | ||
"version": "4.0.0-pre.13", | ||
"description": "Default binding syntaxes for can-stache", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-stache-bindings.html", |
@@ -350,3 +350,3 @@ var QUnit = require('steal-qunit'); | ||
var template = stache("<foo-bar @method:to='@*refKey'></foo-bar>{{*refKey()}}"); | ||
var template = stache("<foo-bar @method:to='@scope.vars.refKey'></foo-bar>{{scope.vars.refKey()}}"); | ||
@@ -461,3 +461,3 @@ var frag = template({}); | ||
test('two-way - reference - child:bind="*ref" (#1700)', function(){ | ||
test('two-way - reference - child:bind="scope.vars.ref" (#1700)', function(){ | ||
var data = new SimpleMap({person: new SimpleMap({name: new SimpleMap({})}) }); | ||
@@ -477,4 +477,4 @@ MockComponent.extend({ | ||
var template = stache("<reference-export name:bind='*refName'/>"+ | ||
"<ref-import name:bind='*refName'/> {{helperToGetScope}}"); | ||
var template = stache("<reference-export name:bind='scope.vars.refName'/>"+ | ||
"<ref-import name:bind='scope.vars.refName'/> {{helperToGetScope}}"); | ||
@@ -493,3 +493,3 @@ var scope; | ||
equal( scope.getRefs().peek("*refName"), "v1", "reference scope updated"); | ||
equal( scope.getRefs().peek("scope.vars.refName"), "v1", "reference scope updated"); | ||
@@ -502,3 +502,3 @@ equal(refImport.get("name"), "v1", "updated ref-import"); | ||
equal( scope.getRefs().peek("*refName"), "v2", "actually put in refs scope"); | ||
equal( scope.getRefs().peek("scope.vars.refName"), "v2", "actually put in refs scope"); | ||
@@ -505,0 +505,0 @@ }); |
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
168744