Skip to content

Commit

Permalink
Item8358: fix with {JQueryPlugin}{NoConflict} enabled; fix ascii high…
Browse files Browse the repository at this point in the history
…lighting; update release history

git-svn-id: http://svn.foswiki.org/trunk/DpSyntaxHighlighterPlugin@9774 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
AndrewJones authored and AndrewJones committed Oct 27, 2010
1 parent c2c15ab commit a6605ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion data/System/DpSyntaxHighlighterPlugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function hello () {
%ENDCODE%

---+++ NatSkin users
BaseStyle.css sets
!BaseStyle.css sets
%CODE{"css"}%.natMainContents {
min-height: 40em;
}%ENDCODE%
Expand All @@ -118,6 +118,7 @@ You should add an override to your CSS customisations that has the following eff
| License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] |
| Dp Syntax Highlighter License: | [[http://www.gnu.org/copyleft/lesser.html][LGPL 3 (Gnu Lesser General Public License)]] |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 27 Oct 2010 | 2.0: Fix for Foswiki 1.1 (Foswikitask:Item9883); Fix when ={JQueryPlugin}{NoConflict}= enabled (Foswikitask:Item8358); Fix =ascii= highlighting -- Foswiki:Main.AndrewJones |
| 31 Jul 2010 | 1.9: Fix Perl warning in logs (Foswikitask:Item9414) -- Foswiki:Main.AndrewJones |
| 30 Apr 2010 | 1.8: Improve JQueryPlugin+ZonePlugin support, added CSS notes for NatSkin users, ship .gz compressed CSS and JS files, address some perlcritic-isms (Foswikitask:Item8654) -- Foswiki:Main.PaulHarvey |
| 07 Jan 2010 | 1.7: Add =noautolinks= parameter; Doc updates. Thanks to Foswiki:Main.AleksandarJelenak (Foswikitask:Item8363) -- Foswiki:Main.AndrewJones |
Expand Down
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/DpSyntaxHighlighterPlugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use warnings;
use vars qw( $VERSION $RELEASE $NO_PREFS_IN_TOPIC $SHORTDESCRIPTION $pluginName $rootDir $doneHead );

our $VERSION = '$Rev$';
our $RELEASE = '1.9';
our $RELEASE = '2.0';
our $pluginName = 'DpSyntaxHighlighterPlugin';
our $NO_PREFS_IN_TOPIC = 1;
our $SHORTDESCRIPTION = 'Client side syntax highlighting using the [[http://code.google.com/p/syntaxhighlighter/][dp.SyntaxHighlighter]]';
Expand Down Expand Up @@ -192,7 +192,7 @@ SyntaxHighlighter.render = function(){
}
if (typeof jQuery != 'undefined') {
// jQuery
\$(document).ready(SyntaxHighlighter.render);
jQuery(document).ready(SyntaxHighlighter.render);
} else if (typeof YAHOO != "undefined") {
// YUI
YAHOO.util.Event.onDOMReady(SyntaxHighlighter.render);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ SyntaxHighlighter.brushes.Plain = function()
};

SyntaxHighlighter.brushes.Plain.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain'];
SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain', 'ascii'];

0 comments on commit a6605ae

Please sign in to comment.