mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix typo in replaceChild
This commit is contained in:
@@ -5,5 +5,7 @@
|
||||
<body>
|
||||
{{#each items}}
|
||||
<div>{{text}}</div>
|
||||
{{else}}
|
||||
<strong>Empty</strong>
|
||||
{{/each}}
|
||||
</body>
|
||||
|
||||
@@ -505,7 +505,7 @@ _.extend(Component.prototype, {
|
||||
oldChild.constructor === newChild.constructor) {
|
||||
oldChild.update(newChild._args);
|
||||
} else if (this.stage !== Component.BUILT ||
|
||||
oldChild !== Component.BUILT ||
|
||||
oldChild.stage !== Component.BUILT ||
|
||||
! oldChild.isAttached) {
|
||||
this.removeChild(key);
|
||||
this.addChild(newKey, newChild);
|
||||
|
||||
Reference in New Issue
Block a user