@aurelia/runtime
Advanced tools
Comparing version 0.1.1-dev.20180905 to 0.1.1-dev.20180906
@@ -59,3 +59,3 @@ import { Reporter } from '@aurelia/kernel'; | ||
} | ||
throw Reporter.error(15, context); | ||
throw Reporter.error(15, BindingFlags[flags]); | ||
} | ||
@@ -62,0 +62,0 @@ $bind(flags, scope) { |
@@ -0,3 +1,10 @@ | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
import { MutationKind } from './observation'; | ||
import { batchedSubscriberCollection, subscriberCollection } from './subscriber-collection'; | ||
import { targetObserver } from './target-observer'; | ||
function flushChanges() { | ||
@@ -30,2 +37,5 @@ this.callBatchedSubscribers(this.indexMap); | ||
} | ||
function getLengthObserver() { | ||
return this.lengthObserver || (this.lengthObserver = new CollectionLengthObserver(this, this.lengthPropertyName)); | ||
} | ||
export function collectionObserver(kind) { | ||
@@ -44,2 +54,3 @@ return function (target) { | ||
proto.dispose = dispose; | ||
proto.getLengthObserver = getLengthObserver; | ||
proto.subscribe = proto.subscribe || proto.addSubscriber; | ||
@@ -51,2 +62,25 @@ proto.unsubscribe = proto.unsubscribe || proto.removeSubscriber; | ||
} | ||
let CollectionLengthObserver = class CollectionLengthObserver { | ||
constructor(obj, propertyKey) { | ||
this.obj = obj; | ||
this.propertyKey = propertyKey; | ||
this.currentValue = obj[propertyKey]; | ||
} | ||
getValue() { | ||
return this.obj[this.propertyKey]; | ||
} | ||
setValueCore(newValue) { | ||
this.obj[this.propertyKey] = newValue; | ||
} | ||
subscribe(subscriber) { | ||
this.addSubscriber(subscriber); | ||
} | ||
unsubscribe(subscriber) { | ||
this.removeSubscriber(subscriber); | ||
} | ||
}; | ||
CollectionLengthObserver = __decorate([ | ||
targetObserver() | ||
], CollectionLengthObserver); | ||
export { CollectionLengthObserver }; | ||
//# sourceMappingURL=collection-observer.js.map |
@@ -20,2 +20,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { ClassAttributeAccessor, DataAttributeAccessor, PropertyAccessor, StyleAttributeAccessor, XLinkAttributeAccessor } from './target-accessors'; | ||
const toStringTag = Object.prototype.toString; | ||
export const IObserverLocator = DI.createInterface() | ||
@@ -146,2 +147,20 @@ .withDefault(x => x.singleton(ObserverLocator)); | ||
} | ||
const tag = toStringTag.call(obj); | ||
switch (tag) { | ||
case '[object Array]': | ||
if (propertyName === 'length') { | ||
return this.getArrayObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
case '[object Map]': | ||
if (propertyName === 'size') { | ||
return this.getMapObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
case '[object Set]': | ||
if (propertyName === 'size') { | ||
return this.getSetObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
const descriptor = getPropertyDescriptor(obj, propertyName); | ||
@@ -161,22 +180,2 @@ if (descriptor) { | ||
} | ||
if (obj instanceof Array) { | ||
if (propertyName === 'length') { | ||
// TODO: implement length observation via proxy | ||
//return this.getArrayObserver(obj).getLengthObserver(); | ||
} | ||
// TODO: get rid of dirty checker and use proxy instead | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
else if (obj instanceof Map) { | ||
if (propertyName === 'size') { | ||
//return this.getMapObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
else if (obj instanceof Set) { | ||
if (propertyName === 'size') { | ||
//return this.getSetObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
return new SetterObserver(obj, propertyName); | ||
@@ -183,0 +182,0 @@ } |
@@ -76,3 +76,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
get: function () { return this.$observers[name].getValue(); }, | ||
set: function (value) { this.$observers[name].setValue(value); } | ||
set: function (value) { this.$observers[name].setValue(value, BindingFlags.updateTargetInstance); } | ||
}); | ||
@@ -79,0 +79,0 @@ } |
@@ -59,3 +59,3 @@ import { Reporter } from '@aurelia/kernel'; | ||
} | ||
throw Reporter.error(15, context); | ||
throw Reporter.error(15, BindingFlags[flags]); | ||
} | ||
@@ -62,0 +62,0 @@ $bind(flags, scope) { |
@@ -0,3 +1,10 @@ | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
import { MutationKind } from './observation'; | ||
import { batchedSubscriberCollection, subscriberCollection } from './subscriber-collection'; | ||
import { targetObserver } from './target-observer'; | ||
function flushChanges() { | ||
@@ -30,2 +37,5 @@ this.callBatchedSubscribers(this.indexMap); | ||
} | ||
function getLengthObserver() { | ||
return this.lengthObserver || (this.lengthObserver = new CollectionLengthObserver(this, this.lengthPropertyName)); | ||
} | ||
export function collectionObserver(kind) { | ||
@@ -44,2 +54,3 @@ return function (target) { | ||
proto.dispose = dispose; | ||
proto.getLengthObserver = getLengthObserver; | ||
proto.subscribe = proto.subscribe || proto.addSubscriber; | ||
@@ -51,2 +62,25 @@ proto.unsubscribe = proto.unsubscribe || proto.removeSubscriber; | ||
} | ||
let CollectionLengthObserver = class CollectionLengthObserver { | ||
constructor(obj, propertyKey) { | ||
this.obj = obj; | ||
this.propertyKey = propertyKey; | ||
this.currentValue = obj[propertyKey]; | ||
} | ||
getValue() { | ||
return this.obj[this.propertyKey]; | ||
} | ||
setValueCore(newValue) { | ||
this.obj[this.propertyKey] = newValue; | ||
} | ||
subscribe(subscriber) { | ||
this.addSubscriber(subscriber); | ||
} | ||
unsubscribe(subscriber) { | ||
this.removeSubscriber(subscriber); | ||
} | ||
}; | ||
CollectionLengthObserver = __decorate([ | ||
targetObserver() | ||
], CollectionLengthObserver); | ||
export { CollectionLengthObserver }; | ||
//# sourceMappingURL=collection-observer.js.map |
@@ -20,2 +20,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { ClassAttributeAccessor, DataAttributeAccessor, PropertyAccessor, StyleAttributeAccessor, XLinkAttributeAccessor } from './target-accessors'; | ||
const toStringTag = Object.prototype.toString; | ||
export const IObserverLocator = DI.createInterface() | ||
@@ -146,2 +147,20 @@ .withDefault(x => x.singleton(ObserverLocator)); | ||
} | ||
const tag = toStringTag.call(obj); | ||
switch (tag) { | ||
case '[object Array]': | ||
if (propertyName === 'length') { | ||
return this.getArrayObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
case '[object Map]': | ||
if (propertyName === 'size') { | ||
return this.getMapObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
case '[object Set]': | ||
if (propertyName === 'size') { | ||
return this.getSetObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
const descriptor = getPropertyDescriptor(obj, propertyName); | ||
@@ -161,22 +180,2 @@ if (descriptor) { | ||
} | ||
if (obj instanceof Array) { | ||
if (propertyName === 'length') { | ||
// TODO: implement length observation via proxy | ||
//return this.getArrayObserver(obj).getLengthObserver(); | ||
} | ||
// TODO: get rid of dirty checker and use proxy instead | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
else if (obj instanceof Map) { | ||
if (propertyName === 'size') { | ||
//return this.getMapObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
else if (obj instanceof Set) { | ||
if (propertyName === 'size') { | ||
//return this.getSetObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
return new SetterObserver(obj, propertyName); | ||
@@ -183,0 +182,0 @@ } |
@@ -76,3 +76,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
get: function () { return this.$observers[name].getValue(); }, | ||
set: function (value) { this.$observers[name].setValue(value); } | ||
set: function (value) { this.$observers[name].setValue(value, BindingFlags.updateTargetInstance); } | ||
}); | ||
@@ -79,0 +79,0 @@ } |
@@ -73,3 +73,3 @@ System.register(["@aurelia/kernel", "./binding-flags", "./binding-mode"], function (exports_1, context_1) { | ||
} | ||
throw kernel_1.Reporter.error(15, context); | ||
throw kernel_1.Reporter.error(15, binding_flags_1.BindingFlags[flags]); | ||
} | ||
@@ -76,0 +76,0 @@ $bind(flags, scope) { |
@@ -1,4 +0,10 @@ | ||
System.register(["./observation", "./subscriber-collection"], function (exports_1, context_1) { | ||
System.register(["./observation", "./subscriber-collection", "./target-observer"], function (exports_1, context_1) { | ||
"use strict"; | ||
var observation_1, subscriber_collection_1; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var observation_1, subscriber_collection_1, target_observer_1, CollectionLengthObserver; | ||
var __moduleName = context_1 && context_1.id; | ||
@@ -32,2 +38,5 @@ function flushChanges() { | ||
} | ||
function getLengthObserver() { | ||
return this.lengthObserver || (this.lengthObserver = new CollectionLengthObserver(this, this.lengthPropertyName)); | ||
} | ||
function collectionObserver(kind) { | ||
@@ -46,2 +55,3 @@ return function (target) { | ||
proto.dispose = dispose; | ||
proto.getLengthObserver = getLengthObserver; | ||
proto.subscribe = proto.subscribe || proto.addSubscriber; | ||
@@ -61,5 +71,31 @@ proto.unsubscribe = proto.unsubscribe || proto.removeSubscriber; | ||
subscriber_collection_1 = subscriber_collection_1_1; | ||
}, | ||
function (target_observer_1_1) { | ||
target_observer_1 = target_observer_1_1; | ||
} | ||
], | ||
execute: function () { | ||
CollectionLengthObserver = class CollectionLengthObserver { | ||
constructor(obj, propertyKey) { | ||
this.obj = obj; | ||
this.propertyKey = propertyKey; | ||
this.currentValue = obj[propertyKey]; | ||
} | ||
getValue() { | ||
return this.obj[this.propertyKey]; | ||
} | ||
setValueCore(newValue) { | ||
this.obj[this.propertyKey] = newValue; | ||
} | ||
subscribe(subscriber) { | ||
this.addSubscriber(subscriber); | ||
} | ||
unsubscribe(subscriber) { | ||
this.removeSubscriber(subscriber); | ||
} | ||
}; | ||
CollectionLengthObserver = __decorate([ | ||
target_observer_1.targetObserver() | ||
], CollectionLengthObserver); | ||
exports_1("CollectionLengthObserver", CollectionLengthObserver); | ||
} | ||
@@ -66,0 +102,0 @@ }; |
@@ -9,3 +9,3 @@ System.register(["@aurelia/kernel", "../dom", "./array-observer", "./change-set", "./computed-observer", "./dirty-checker", "./element-observation", "./event-manager", "./map-observer", "./property-observation", "./set-observer", "./svg-analyzer", "./target-accessors"], function (exports_1, context_1) { | ||
}; | ||
var kernel_1, dom_1, array_observer_1, change_set_1, computed_observer_1, dirty_checker_1, element_observation_1, event_manager_1, map_observer_1, property_observation_1, set_observer_1, svg_analyzer_1, target_accessors_1, IObserverLocator, ObserverLocator; | ||
var kernel_1, dom_1, array_observer_1, change_set_1, computed_observer_1, dirty_checker_1, element_observation_1, event_manager_1, map_observer_1, property_observation_1, set_observer_1, svg_analyzer_1, target_accessors_1, toStringTag, IObserverLocator, ObserverLocator; | ||
var __moduleName = context_1 && context_1.id; | ||
@@ -64,2 +64,3 @@ function getPropertyDescriptor(subject, name) { | ||
execute: function () { | ||
toStringTag = Object.prototype.toString; | ||
exports_1("IObserverLocator", IObserverLocator = kernel_1.DI.createInterface() | ||
@@ -180,2 +181,20 @@ .withDefault(x => x.singleton(ObserverLocator))); | ||
} | ||
const tag = toStringTag.call(obj); | ||
switch (tag) { | ||
case '[object Array]': | ||
if (propertyName === 'length') { | ||
return this.getArrayObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
case '[object Map]': | ||
if (propertyName === 'size') { | ||
return this.getMapObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
case '[object Set]': | ||
if (propertyName === 'size') { | ||
return this.getSetObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
const descriptor = getPropertyDescriptor(obj, propertyName); | ||
@@ -195,22 +214,2 @@ if (descriptor) { | ||
} | ||
if (obj instanceof Array) { | ||
if (propertyName === 'length') { | ||
// TODO: implement length observation via proxy | ||
//return this.getArrayObserver(obj).getLengthObserver(); | ||
} | ||
// TODO: get rid of dirty checker and use proxy instead | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
else if (obj instanceof Map) { | ||
if (propertyName === 'size') { | ||
//return this.getMapObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
else if (obj instanceof Set) { | ||
if (propertyName === 'size') { | ||
//return this.getSetObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
return new property_observation_1.SetterObserver(obj, propertyName); | ||
@@ -217,0 +216,0 @@ } |
@@ -15,3 +15,3 @@ System.register(["../binding/binding-flags", "../binding/observation", "../binding/property-observation", "../binding/subscriber-collection", "./custom-element"], function (exports_1, context_1) { | ||
get: function () { return this.$observers[name].getValue(); }, | ||
set: function (value) { this.$observers[name].setValue(value); } | ||
set: function (value) { this.$observers[name].setValue(value, binding_flags_1.BindingFlags.updateTargetInstance); } | ||
}); | ||
@@ -18,0 +18,0 @@ } |
@@ -1,3 +0,17 @@ | ||
import { CollectionKind } from './observation'; | ||
import { BindingFlags } from './binding-flags'; | ||
import { Collection, CollectionKind, IBindingTargetObserver, IPropertySubscriber } from './observation'; | ||
export declare function collectionObserver(kind: CollectionKind.array | CollectionKind.set | CollectionKind.map): ClassDecorator; | ||
export interface CollectionLengthObserver extends IBindingTargetObserver<any, string> { | ||
} | ||
export declare class CollectionLengthObserver implements CollectionLengthObserver { | ||
obj: Collection; | ||
propertyKey: 'length' | 'size'; | ||
currentValue: number; | ||
currentFlags: BindingFlags; | ||
constructor(obj: Collection, propertyKey: 'length' | 'size'); | ||
getValue(): number; | ||
setValueCore(newValue: number): void; | ||
subscribe(subscriber: IPropertySubscriber): void; | ||
unsubscribe(subscriber: IPropertySubscriber): void; | ||
} | ||
//# sourceMappingURL=collection-observer.d.ts.map |
@@ -225,2 +225,4 @@ import { IDisposable } from '@aurelia/kernel'; | ||
collectionKind: T; | ||
lengthObserver: IBindingTargetAccessor; | ||
getLengthObserver(): IBindingTargetAccessor; | ||
} | ||
@@ -227,0 +229,0 @@ export declare type CollectionObserver = ICollectionObserver<CollectionKind>; |
@@ -70,3 +70,3 @@ (function (factory) { | ||
} | ||
throw kernel_1.Reporter.error(15, context); | ||
throw kernel_1.Reporter.error(15, binding_flags_1.BindingFlags[flags]); | ||
} | ||
@@ -73,0 +73,0 @@ $bind(flags, scope) { |
@@ -0,1 +1,7 @@ | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
(function (factory) { | ||
@@ -7,3 +13,3 @@ if (typeof module === "object" && typeof module.exports === "object") { | ||
else if (typeof define === "function" && define.amd) { | ||
define(["require", "exports", "./observation", "./subscriber-collection"], factory); | ||
define(["require", "exports", "./observation", "./subscriber-collection", "./target-observer"], factory); | ||
} | ||
@@ -15,2 +21,3 @@ })(function (require, exports) { | ||
const subscriber_collection_1 = require("./subscriber-collection"); | ||
const target_observer_1 = require("./target-observer"); | ||
function flushChanges() { | ||
@@ -43,2 +50,5 @@ this.callBatchedSubscribers(this.indexMap); | ||
} | ||
function getLengthObserver() { | ||
return this.lengthObserver || (this.lengthObserver = new CollectionLengthObserver(this, this.lengthPropertyName)); | ||
} | ||
function collectionObserver(kind) { | ||
@@ -57,2 +67,3 @@ return function (target) { | ||
proto.dispose = dispose; | ||
proto.getLengthObserver = getLengthObserver; | ||
proto.subscribe = proto.subscribe || proto.addSubscriber; | ||
@@ -65,3 +76,26 @@ proto.unsubscribe = proto.unsubscribe || proto.removeSubscriber; | ||
exports.collectionObserver = collectionObserver; | ||
let CollectionLengthObserver = class CollectionLengthObserver { | ||
constructor(obj, propertyKey) { | ||
this.obj = obj; | ||
this.propertyKey = propertyKey; | ||
this.currentValue = obj[propertyKey]; | ||
} | ||
getValue() { | ||
return this.obj[this.propertyKey]; | ||
} | ||
setValueCore(newValue) { | ||
this.obj[this.propertyKey] = newValue; | ||
} | ||
subscribe(subscriber) { | ||
this.addSubscriber(subscriber); | ||
} | ||
unsubscribe(subscriber) { | ||
this.removeSubscriber(subscriber); | ||
} | ||
}; | ||
CollectionLengthObserver = __decorate([ | ||
target_observer_1.targetObserver() | ||
], CollectionLengthObserver); | ||
exports.CollectionLengthObserver = CollectionLengthObserver; | ||
}); | ||
//# sourceMappingURL=collection-observer.js.map |
@@ -31,2 +31,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
const target_accessors_1 = require("./target-accessors"); | ||
const toStringTag = Object.prototype.toString; | ||
exports.IObserverLocator = kernel_1.DI.createInterface() | ||
@@ -157,2 +158,20 @@ .withDefault(x => x.singleton(ObserverLocator)); | ||
} | ||
const tag = toStringTag.call(obj); | ||
switch (tag) { | ||
case '[object Array]': | ||
if (propertyName === 'length') { | ||
return this.getArrayObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
case '[object Map]': | ||
if (propertyName === 'size') { | ||
return this.getMapObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
case '[object Set]': | ||
if (propertyName === 'size') { | ||
return this.getSetObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
const descriptor = getPropertyDescriptor(obj, propertyName); | ||
@@ -172,22 +191,2 @@ if (descriptor) { | ||
} | ||
if (obj instanceof Array) { | ||
if (propertyName === 'length') { | ||
// TODO: implement length observation via proxy | ||
//return this.getArrayObserver(obj).getLengthObserver(); | ||
} | ||
// TODO: get rid of dirty checker and use proxy instead | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
else if (obj instanceof Map) { | ||
if (propertyName === 'size') { | ||
//return this.getMapObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
else if (obj instanceof Set) { | ||
if (propertyName === 'size') { | ||
//return this.getSetObserver(obj).getLengthObserver(); | ||
} | ||
return this.dirtyChecker.createProperty(obj, propertyName); | ||
} | ||
return new property_observation_1.SetterObserver(obj, propertyName); | ||
@@ -194,0 +193,0 @@ } |
@@ -88,3 +88,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
get: function () { return this.$observers[name].getValue(); }, | ||
set: function (value) { this.$observers[name].setValue(value); } | ||
set: function (value) { this.$observers[name].setValue(value, binding_flags_1.BindingFlags.updateTargetInstance); } | ||
}); | ||
@@ -91,0 +91,0 @@ } |
{ | ||
"name": "@aurelia/runtime", | ||
"version": "0.1.1-dev.20180905", | ||
"version": "0.1.1-dev.20180906", | ||
"main": "dist/umd/index.js", | ||
@@ -42,3 +42,3 @@ "types": "dist/types/index.d.ts", | ||
"dependencies": { | ||
"@aurelia/kernel": "^0.1.1-dev.20180905" | ||
"@aurelia/kernel": "^0.1.1-dev.20180906" | ||
}, | ||
@@ -84,3 +84,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "9de6ea49698fdcb52401227399ceb50f589b12a7" | ||
"gitHead": "43b4b2c74dce355fa1bcbbb4da3c030f6756a99e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2239574
30854
48