Plugin Directory

Changeset 406269


Ignore:
Timestamp:
07/07/2011 03:55:55 PM (15 years ago)
Author:
netAction
Message:

Use Wordpress' jQuery version.

Location:
jush-javascript-syntax-highlighter/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • jush-javascript-syntax-highlighter/trunk/jush.php

    r272893 r406269  
    44Plugin URI: http://wordpress.org/extend/plugins/jush-javascript-syntax-highlighter/
    55Description: This is a wrapper for the jQuery plugin JUSH which highlights HTML, PHP, SQL and some other languages.
    6 Version: 1.1
     6Version: 1.2
    77Author: Thomas Schmidt
    88Author URI: http://netaction.de
     
    1111
    1212function 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'));
    1614}
    1715
     
    2018?>
    2119<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  });
    2624</script>
    27 <?
     25<?php
    2826}
    2927
     
    3230
    3331?>
     32
  • jush-javascript-syntax-highlighter/trunk/readme.txt

    r272893 r406269  
    33Tags: syntax highlighter, jquery, php, syntax, syntax highlight
    44Requires at least: 2.8
    5 Tested up to: 3.0.1
     5Tested up to: 3.2
    66Stable tag: trunk
    77
     
    4646* Some important bugs fixed
    4747
    48 = 1.1 =
    49 * Minor fixes in readme.txt
     48= 1.2 =
     49* Minor fixes
Note: See TracChangeset for help on using the changeset viewer.