Plugin Directory

Changeset 778017


Ignore:
Timestamp:
09/24/2013 09:52:41 PM (13 years ago)
Author:
MicahBlu
Message:

wrapped javascript in a self invoking function

Location:
tab-me/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tab-me/trunk/tab-me.js

    r744207 r778017  
    44 * Core and very simple jQuery for Tab Me Tabs
    55 *
    6  * @since 0.5
     6 * @since 0.5.1
    77 */
    8 jQuery(document).ready(function($){
     8(function($){
    99
    1010    $('.tab-me-tabs li').click(function(){
     
    2323        obj.addClass("active");
    2424    }
    25 });
     25})(jQuery);
  • tab-me/trunk/tab-me.php

    r744207 r778017  
    6969add_shortcode('tabs', 'tabs_func');
    7070
    71 
    7271function tab_me_scripts(){
    7372    wp_enqueue_style('tab-me-styles', plugins_url( 'tab-me.css', __FILE__) );
Note: See TracChangeset for help on using the changeset viewer.