can-stache-key
Advanced tools
Comparing version 1.0.0-pre.14 to 1.0.0-pre.15
@@ -7,2 +7,3 @@ var observeReader = require("can-stache-key"); | ||
var testHelpers = require('can-test-helpers'); | ||
var ObservationRecorder = require("can-observation-recorder"); | ||
@@ -86,3 +87,3 @@ var SimpleMap = require("can-simple-map"); | ||
get: function(){ | ||
Observation.add(obj,"prop"); | ||
ObservationRecorder.add(obj,"prop"); | ||
return prop; | ||
@@ -115,3 +116,3 @@ }, | ||
isSaving: function(){ | ||
Observation.add(this, "_saving"); | ||
ObservationRecorder.add(this, "_saving"); | ||
}, | ||
@@ -118,0 +119,0 @@ addEventListener: function(){} |
@@ -1,2 +0,2 @@ | ||
var Observation = require('can-observation'); | ||
var ObservationRecorder = require('can-observation-recorder'); | ||
var dev = require('can-log/dev/dev'); | ||
@@ -13,3 +13,3 @@ var each = require('can-util/js/each/each'); | ||
var isValueLikeSymbol = canSymbol.for("can.isValueLike"); | ||
var peek = Observation.ignore(canReflect.getKeyValue.bind(canReflect)); | ||
var peek = ObservationRecorder.ignore(canReflect.getKeyValue.bind(canReflect)); | ||
var observeReader; | ||
@@ -54,4 +54,4 @@ | ||
if(options.foundObservable && !state.foundObservable) { | ||
if(Observation.trapsCount()) { | ||
Observation.addAll( getObserves() ); | ||
if(ObservationRecorder.trapsCount()) { | ||
ObservationRecorder.addMany( getObserves() ); | ||
options.foundObservable(value, index); | ||
@@ -84,3 +84,3 @@ state.foundObservable = true; | ||
if(options.foundObservable) { | ||
getObserves = Observation.trap(); | ||
getObserves = ObservationRecorder.trap(); | ||
} | ||
@@ -87,0 +87,0 @@ |
{ | ||
"name": "can-stache-key", | ||
"version": "1.0.0-pre.14", | ||
"version": "1.0.0-pre.15", | ||
"description": "Read and write keys on a value", | ||
@@ -49,3 +49,3 @@ "homepage": "https://canjs.com", | ||
"can-namespace": "1.0.0", | ||
"can-observation": "^4.0.0-pre.2", | ||
"can-observation-recorder": "<2.0.0", | ||
"can-reflect": "^1.1.0", | ||
@@ -57,2 +57,3 @@ "can-reflect-promise": "^2.0.0-pre.2", | ||
"devDependencies": { | ||
"can-observation": "^4.0.0-pre.2", | ||
"can-event-queue": "<2.0.0", | ||
@@ -59,0 +60,0 @@ "can-simple-map": "^4.0.0-pre.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
25592
539
11
- Removedcan-observation@^4.0.0-pre.2