aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/ui/autocomplete/result-item.reel/result-item.js')
-rw-r--r--node_modules/montage/ui/autocomplete/result-item.reel/result-item.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js b/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js
index 9a08d4df..1e19bbd3 100644
--- a/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js
+++ b/node_modules/montage/ui/autocomplete/result-item.reel/result-item.js
@@ -32,9 +32,9 @@ var Montage = require("montage").Montage,
32 DynamicText = require("ui/dynamic-text.reel").DynamicText; 32 DynamicText = require("ui/dynamic-text.reel").DynamicText;
33 33
34exports.ResultItem = Montage.create(DynamicText, { 34exports.ResultItem = Montage.create(DynamicText, {
35 35
36 textPropertyPath: {value: null}, 36 textPropertyPath: {value: null},
37 37
38 _object: {value: null}, 38 _object: {value: null},
39 object: { 39 object: {
40 get: function() { 40 get: function() {
@@ -42,7 +42,7 @@ exports.ResultItem = Montage.create(DynamicText, {
42 }, 42 },
43 set: function(aValue) { 43 set: function(aValue) {
44 if(aValue) { 44 if(aValue) {
45 this._object = aValue; 45 this._object = aValue;
46 } 46 }
47 if(this._object) { 47 if(this._object) {
48 if(this.textPropertyPath) { 48 if(this.textPropertyPath) {