Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* implemented jquery.autosuggest * removed nonfunctional term sugestion rest handler * removed support for deprecated old autocomplete library * added size parameter to mapToIconFileName * don't remove newlines from stringified texts git-svn-id: http://svn.foswiki.org/trunk/SolrPlugin@16721 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
MichaelDaum
authored and
MichaelDaum
committed
May 13, 2013
1 parent
dbe4715
commit d586d9d
Showing
10 changed files
with
375 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Plugin for Foswiki - The Free and Open Source Wiki, http://foswiki.org/ | ||
# | ||
# Copyright (C) 2013 Michael Daum http://michaeldaumconsulting.com | ||
# | ||
# This program is free software; you can redistribute it and/or | ||
# modify it under the terms of the GNU General Public License | ||
# as published by the Free Software Foundation; either version 2 | ||
# of the License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
|
||
package Foswiki::Plugins::SolrPlugin::Autosuggest; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use Foswiki::Plugins::JQueryPlugin::Plugin (); | ||
our @ISA = qw( Foswiki::Plugins::JQueryPlugin::Plugin ); | ||
|
||
sub new { | ||
my $class = shift; | ||
|
||
my $this = bless( | ||
$class->SUPER::new( | ||
name => 'Autosuggest', | ||
version => '1.10', | ||
author => 'Michael Daum', | ||
homepage => 'http://foswiki.org/Extensions/SolrPlugin', | ||
css => ['jquery.autosuggest.css'], | ||
javascript => ['jquery.autosuggest.js', ], | ||
puburl => '%PUBURLPATH%/%SYSTEMWEB%/SolrPlugin', | ||
dependencies => ['ui::autocomplete', 'tmpl', 'blockUI'], | ||
), | ||
$class | ||
); | ||
|
||
return $this; | ||
} | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.