diff options
author | Nivesh Rajbhandari | 2012-05-24 11:28:09 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-24 11:28:09 -0700 |
commit | f801708f83aadfc688e69a244eb7cbaeca5d5e8d (patch) | |
tree | f6f2e044c646ea2749fafc29f1a1c3fabd2825ea | |
parent | 1adc3b050728e393583f94eb2216db813d4a7293 (diff) | |
download | ninja-f801708f83aadfc688e69a244eb7cbaeca5d5e8d.tar.gz |
Getter for _liveNodeList should return a copy.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-x | js/document/views/design.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js index 4f5f8da9..13f89692 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -87,7 +87,7 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
87 | }); | 87 | }); |
88 | return filteredNodes; | 88 | return filteredNodes; |
89 | } else { | 89 | } else { |
90 | return this._liveNodeList; | 90 | return Array.prototype.slice.call(this._liveNodeList, 0); |
91 | } | 91 | } |
92 | } | 92 | } |
93 | }, | 93 | }, |