equal
deleted
inserted
replaced
59 var _html = '<li><h3>Tags</h3></li>', |
59 var _html = '<li><h3>Tags</h3></li>', |
60 _projtitle = this.data.meta["dc:title"], |
60 _projtitle = this.data.meta["dc:title"], |
61 _this = this, |
61 _this = this, |
62 count = 0; |
62 count = 0; |
63 _this.title_$.text('LDT Project: "' + _projtitle + '"'); |
63 _this.title_$.text('LDT Project: "' + _projtitle + '"'); |
64 _(_this.data.tags).map(function(_tag) { |
64 _.map(_this.data.tags,function(_tag) { |
65 var _title = _tag.meta["dc:title"]; |
65 var _title = _tag.meta["dc:title"]; |
66 if (!search.isempty && !search.test(_title)) { |
66 if (!search.isempty && !search.test(_title)) { |
67 return; |
67 return; |
68 } |
68 } |
69 count++; |
69 count++; |
74 encodedtitle : encodeURIComponent(_title), |
74 encodedtitle : encodeURIComponent(_title), |
75 static_url: _this.renkan.options.static_url |
75 static_url: _this.renkan.options.static_url |
76 }); |
76 }); |
77 }); |
77 }); |
78 _html += '<li><h3>Annotations</h3></li>'; |
78 _html += '<li><h3>Annotations</h3></li>'; |
79 _(_this.data.annotations).map(function(_annotation) { |
79 _.map(_this.data.annotations,function(_annotation) { |
80 var _description = _annotation.content.description, |
80 var _description = _annotation.content.description, |
81 _title = _annotation.content.title.replace(_description,""); |
81 _title = _annotation.content.title.replace(_description,""); |
82 if (!search.isempty && !search.test(_title) && !search.test(_description)) { |
82 if (!search.isempty && !search.test(_title) && !search.test(_description)) { |
83 return; |
83 return; |
84 } |
84 } |
196 } |
196 } |
197 |
197 |
198 var _html = '', |
198 var _html = '', |
199 _this = this, |
199 _this = this, |
200 count = 0; |
200 count = 0; |
201 _(this.data.objects).each(function(_segment) { |
201 _.each(this.data.objects,function(_segment) { |
202 var _description = _segment.abstract, |
202 var _description = _segment.abstract, |
203 _title = _segment.title; |
203 _title = _segment.title; |
204 if (!search.isempty && !search.test(_title) && !search.test(_description)) { |
204 if (!search.isempty && !search.test(_title) && !search.test(_description)) { |
205 return; |
205 return; |
206 } |
206 } |