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

Commit

Permalink
proper factoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Dec 19, 2013
1 parent cd192e0 commit 266a8c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/declaration/properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
observe[property] = observe[property] || n;
}
}
this.explodeObservers(prototype);
},
explodeObservers: function(prototype) {
// called before prototype.observe is chained to inherited object
Expand Down
2 changes: 2 additions & 0 deletions src/declaration/prototype.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
this.publishProperties(prototype, base);
// infer observers for `observe` list based on method names
this.inferObservers(prototype);
// desugar compound observer syntax, e.g. 'a b c'
this.explodeObservers(prototype);
// chain various meta-data objects to inherited versions
this.inheritMetaData(prototype, base);
// chain custom api to inherited
Expand Down

0 comments on commit 266a8c5

Please sign in to comment.