Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 266a8c5

Browse files
committed
proper factoring.
1 parent cd192e0 commit 266a8c5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/declaration/properties.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
observe[property] = observe[property] || n;
2121
}
2222
}
23-
this.explodeObservers(prototype);
2423
},
2524
explodeObservers: function(prototype) {
2625
// called before prototype.observe is chained to inherited object

src/declaration/prototype.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
this.publishProperties(prototype, base);
3939
// infer observers for `observe` list based on method names
4040
this.inferObservers(prototype);
41+
// desugar compound observer syntax, e.g. 'a b c'
42+
this.explodeObservers(prototype);
4143
// chain various meta-data objects to inherited versions
4244
this.inheritMetaData(prototype, base);
4345
// chain custom api to inherited

0 commit comments

Comments
 (0)