Make WordPress Core

Ticket #9375: Jcrop.noconflict.diff

File Jcrop.noconflict.diff, 1.2 KB (added by nbachiyski, 17 years ago)
  • wp-includes/js/jcrop/jquery.Jcrop.dev.js

     
    2727
    2828 * }}}
    2929 */
    30 
     30(function($) {
    3131$.Jcrop = function(obj,opt)
    3232{
    3333        // Initialization {{{
     
    10801080        // Return "this" so we're chainable a la jQuery plugin-style!
    10811081        return this;
    10821082};
    1083 /*}}}*/
    1084 
     1083})(jQuery);
     1084/*}}}*/
     1085 No newline at end of file
  • wp-includes/script-loader.php

     
    167167        $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20090123');
    168168        $scripts->add_data( 'thickbox', 'group', 1 );
    169169
    170         $scripts->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop$suffix.js", array('jquery'), '0.9.5');
     170        $scripts->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop$suffix.js", array('jquery'), '0.9.5-1');
    171171       
    172172        if ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) {
    173173                $scripts->add( 'swfupload', '/wp-includes/js/swfupload/swfupload.js', false, '2.2.0-20081031');