comparison docs/ref/jquery.plugin.docscomments.js @ 3158:29d7349c8a31 nullege-examples

Update example search to use Nullege. Google Code Search is no more.
author Thomas Kluyver <takowl@gmail.com>
date Thu, 03 Jan 2013 12:34:02 +0000
parents b3e367b1eca6
children
comparison
equal deleted inserted replaced
3155:879fabe08772 3158:29d7349c8a31
36 var getComments = function (link) { 36 var getComments = function (link) {
37 return _comments[link]; 37 return _comments[link];
38 }; 38 };
39 39
40 var searchButtonHtml = [ 40 var searchButtonHtml = [
41 '<form action="http://www.google.com/codesearch" class="addcomment"><input type="hidden" value="file:\.py$ ', 41 '<form action="http://nullege.com/codes/search" class="addcomment"><input type="hidden" value="',
42 '" name="q"><input type="submit" value="Search examples for ', 42 '" name="cq"><input type="submit" value="Search examples for ',
43 '"></form>' 43 '"></form>'
44 ]; 44 ];
45 45
46 var addCommentHtml = [ 46 var addCommentHtml = [
47 '<form action="http://www.pygame.org/docs/ref/comment_new.php" class="addcomment"><input type="hidden" value="', 47 '<form action="http://www.pygame.org/docs/ref/comment_new.php" class="addcomment"><input type="hidden" value="',