diff options
author | Armen Kesablyan | 2012-02-15 14:28:21 -0800 |
---|---|---|
committer | Armen Kesablyan | 2012-02-15 14:28:21 -0800 |
commit | 2a5484af59544a9dfdda854d707455f08a24fe69 (patch) | |
tree | 31055dd7a5548ab307a094d02be7012c77eeb4b9 /node_modules/montage/ui/component.js | |
parent | bb4da39a73cbd6fbe83f3b7c9ed5ae60fe58dd6b (diff) | |
download | ninja-2a5484af59544a9dfdda854d707455f08a24fe69.tar.gz |
Latest Montage Updates 0.6 Fixes
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'node_modules/montage/ui/component.js')
-rwxr-xr-x | node_modules/montage/ui/component.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/node_modules/montage/ui/component.js b/node_modules/montage/ui/component.js index e41a1958..d347f655 100755 --- a/node_modules/montage/ui/component.js +++ b/node_modules/montage/ui/component.js | |||
@@ -6,7 +6,6 @@ | |||
6 | /** | 6 | /** |
7 | @module montage/ui/component | 7 | @module montage/ui/component |
8 | @requires montage/core/core | 8 | @requires montage/core/core |
9 | @requires montage/core/event/mutable-event | ||
10 | @requires montage/ui/reel | 9 | @requires montage/ui/reel |
11 | @requires montage/core/gate | 10 | @requires montage/core/gate |
12 | @requires montage/core/logger | component | 11 | @requires montage/core/logger | component |
@@ -14,7 +13,6 @@ | |||
14 | @requires montage/core/event/event-manager | 13 | @requires montage/core/event/event-manager |
15 | */ | 14 | */ |
16 | var Montage = require("montage").Montage, | 15 | var Montage = require("montage").Montage, |
17 | MutableEvent = require("core/event/mutable-event").MutableEvent, | ||
18 | Template = require("ui/template").Template, | 16 | Template = require("ui/template").Template, |
19 | Gate = require("core/gate").Gate, | 17 | Gate = require("core/gate").Gate, |
20 | logger = require("core/logger").logger("component"), | 18 | logger = require("core/logger").logger("component"), |
@@ -441,10 +439,6 @@ var Component = exports.Component = Montage.create(Montage,/** @lends module:mon | |||
441 | childComponents.splice(ix, 1); | 439 | childComponents.splice(ix, 1); |
442 | childComponent._cachedParentComponent = null; | 440 | childComponent._cachedParentComponent = null; |
443 | } | 441 | } |
444 | |||
445 | if (element && element.parentNode) { | ||
446 | element.parentNode.removeChild(element); | ||
447 | } | ||
448 | } | 442 | } |
449 | }, | 443 | }, |
450 | /** | 444 | /** |