aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-24 11:28:09 -0700
committerNivesh Rajbhandari2012-05-24 11:28:09 -0700
commitf801708f83aadfc688e69a244eb7cbaeca5d5e8d (patch)
treef6f2e044c646ea2749fafc29f1a1c3fabd2825ea
parent1adc3b050728e393583f94eb2216db813d4a7293 (diff)
downloadninja-f801708f83aadfc688e69a244eb7cbaeca5d5e8d.tar.gz
Getter for _liveNodeList should return a copy.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rwxr-xr-xjs/document/views/design.js2
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 },