Changeset 406269
- Timestamp:
- 07/07/2011 03:55:55 PM (15 years ago)
- Location:
- jush-javascript-syntax-highlighter/trunk
- Files:
-
- 1 deleted
- 2 edited
-
jquery-1.4.2.min.js (deleted)
-
jush.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jush-javascript-syntax-highlighter/trunk/jush.php
r272893 r406269 4 4 Plugin URI: http://wordpress.org/extend/plugins/jush-javascript-syntax-highlighter/ 5 5 Description: This is a wrapper for the jQuery plugin JUSH which highlights HTML, PHP, SQL and some other languages. 6 Version: 1. 16 Version: 1.2 7 7 Author: Thomas Schmidt 8 8 Author URI: http://netaction.de … … 11 11 12 12 function JushInit() { 13 wp_deregister_script('jquery'); 14 wp_register_script('jquery', WP_PLUGIN_URL.'/jush-javascript-syntax-highlighter/jquery-1.4.2.min.js', false, '1.4.2'); 15 wp_enqueue_script('jush', WP_PLUGIN_URL.'/jush-javascript-syntax-highlighter/jush.js', array('jquery')); 13 wp_enqueue_script('jush', WP_PLUGIN_URL.'/jush-javascript-syntax-highlighter/jush.js', array('jquery')); 16 14 } 17 15 … … 20 18 ?> 21 19 <script type="text/javascript"> 22 $(function() {23 jush.style('<? echo WP_PLUGIN_URL; ?>/jush-javascript-syntax-highlighter/jush.css');24 jush.highlight_tag('pre');25 });20 jQuery(function() { 21 jush.style('<? echo WP_PLUGIN_URL; ?>/jush-javascript-syntax-highlighter/jush.css'); 22 jush.highlight_tag('pre'); 23 }); 26 24 </script> 27 <? 25 <?php 28 26 } 29 27 … … 32 30 33 31 ?> 32 -
jush-javascript-syntax-highlighter/trunk/readme.txt
r272893 r406269 3 3 Tags: syntax highlighter, jquery, php, syntax, syntax highlight 4 4 Requires at least: 2.8 5 Tested up to: 3. 0.15 Tested up to: 3.2 6 6 Stable tag: trunk 7 7 … … 46 46 * Some important bugs fixed 47 47 48 = 1. 1=49 * Minor fixes in readme.txt48 = 1.2 = 49 * Minor fixes
Note: See TracChangeset
for help on using the changeset viewer.