Skip to content
Browse files

remove last theme file

  • Loading branch information...
1 parent 5db7abe commit 0ed361b4df9877fe2a6291303f454ead0132a227 @jpmckinney jpmckinney committed Apr 13, 2013
Showing with 0 additions and 35 deletions.
  1. +0 −35 examples/reuters/js/reuters.theme.js
View
35 examples/reuters/js/reuters.theme.js
@@ -1,35 +0,0 @@
-(function ($) {
-
-AjaxSolr.theme.prototype.result = function (doc, snippet) {
- var output = '<div><h2>' + doc.title + '</h2>';
- output += '<p id="links_' + doc.id + '" class="links"></p>';
- output += '<p>' + snippet + '</p></div>';
- return output;
-};
-
-AjaxSolr.theme.prototype.snippet = function (doc) {
- var output = '';
- if (doc.text.length > 300) {
- output += doc.dateline + ' ' + doc.text.substring(0, 300);
- output += '<span style="display:none;">' + doc.text.substring(300);
- output += '</span> <a href="#" class="more">more</a>';
- }
- else {
- output += doc.dateline + ' ' + doc.text;
- }
- return output;
-};
-
-AjaxSolr.theme.prototype.tag = function (value, weight, handler) {
- return $('<a href="#" class="tagcloud_item"></a>').text(value).addClass('tagcloud_size_' + weight).click(handler);
-};
-
-AjaxSolr.theme.prototype.facet_link = function (value, handler) {
- return $('<a href="#"></a>').text(value).click(handler);
-};
-
-AjaxSolr.theme.prototype.no_items_found = function () {
- return 'no items found in current selection';
-};
-
-})(jQuery);

0 comments on commit 0ed361b

Please sign in to comment.
Something went wrong with that request. Please try again.