From 9f4f1bfdadede96cb8a201a3525cdf056f5a7d65 Mon Sep 17 00:00:00 2001 From: Jeremy Danyow Date: Mon, 8 Aug 2016 20:39:46 -0400 Subject: [PATCH] reset Breeze PropertyChanged event fixes #36 --- dist/amd/aurelia-breeze.js | 1 + dist/aurelia-breeze.js | 1 + dist/commonjs/aurelia-breeze.js | 1 + dist/es2015/aurelia-breeze.js | 1 + dist/native-modules/aurelia-breeze.js | 1 + dist/system/aurelia-breeze.js | 1 + package.json | 2 +- src/property-observation.js | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dist/amd/aurelia-breeze.js b/dist/amd/aurelia-breeze.js index 52f094c..3f842d4 100644 --- a/dist/amd/aurelia-breeze.js +++ b/dist/amd/aurelia-breeze.js @@ -268,6 +268,7 @@ define(['exports', 'breeze-client', 'aurelia-binding', 'aurelia-fetch-client'], handleChange(change); } } + change.propertyName = null; return; } diff --git a/dist/aurelia-breeze.js b/dist/aurelia-breeze.js index b293d6f..b7266d9 100644 --- a/dist/aurelia-breeze.js +++ b/dist/aurelia-breeze.js @@ -230,6 +230,7 @@ function handleChange(change) { handleChange(change); } } + change.propertyName = null; return; } diff --git a/dist/commonjs/aurelia-breeze.js b/dist/commonjs/aurelia-breeze.js index 12dc4f6..2850c17 100644 --- a/dist/commonjs/aurelia-breeze.js +++ b/dist/commonjs/aurelia-breeze.js @@ -254,6 +254,7 @@ function handleChange(change) { handleChange(change); } } + change.propertyName = null; return; } diff --git a/dist/es2015/aurelia-breeze.js b/dist/es2015/aurelia-breeze.js index aedb4f8..08cc8fc 100644 --- a/dist/es2015/aurelia-breeze.js +++ b/dist/es2015/aurelia-breeze.js @@ -213,6 +213,7 @@ function handleChange(change) { handleChange(change); } } + change.propertyName = null; return; } diff --git a/dist/native-modules/aurelia-breeze.js b/dist/native-modules/aurelia-breeze.js index 91e6048..523eb0b 100644 --- a/dist/native-modules/aurelia-breeze.js +++ b/dist/native-modules/aurelia-breeze.js @@ -238,6 +238,7 @@ function handleChange(change) { handleChange(change); } } + change.propertyName = null; return; } diff --git a/dist/system/aurelia-breeze.js b/dist/system/aurelia-breeze.js index 8b2adf8..cf820ba 100644 --- a/dist/system/aurelia-breeze.js +++ b/dist/system/aurelia-breeze.js @@ -53,6 +53,7 @@ System.register(['breeze-client', 'aurelia-binding', 'aurelia-fetch-client'], fu handleChange(change); } } + change.propertyName = null; return; } diff --git a/package.json b/package.json index 132ebb8..59dbbf3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-breeze", - "version": "2.1.0", + "version": "2.1.1", "description": "A Breeze plugin for Aurelia.", "keywords": [ "aurelia", diff --git a/src/property-observation.js b/src/property-observation.js index 22931cf..48c2f64 100644 --- a/src/property-observation.js +++ b/src/property-observation.js @@ -41,6 +41,7 @@ function handleChange(change) { handleChange(change); } } + change.propertyName = null; return; }