Plugin Directory

Changeset 2153213


Ignore:
Timestamp:
09/09/2019 12:29:11 AM (7 years ago)
Author:
arrowplugins
Message:

Removed custom added moment script and used WordPress moment library (Twitter)

Location:
arrow-twitter-feed
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • arrow-twitter-feed/tags/1.5.3/includes/tfba-enqueue-scripts.php

    r2147158 r2153213  
    66   
    77        wp_enqueue_script('jquery');
     8        wp_enqueue_script('moment');
     9
    810       
    911        wp_register_script( 'tfba_codebird', plugin_dir_url( __FILE__ ) . '../bower_components/codebird-js/codebird.js', array( 'jquery' ) );
    1012        wp_register_script( 'tfba_doT', plugin_dir_url( __FILE__ ) . '../bower_components/doT/doT.min.js', array( 'jquery' ) );
    11         wp_register_script( 'tfba_moment', plugin_dir_url( __FILE__ ) . '../bower_components/moment/min/moment.min.js', array( 'jquery' ) );
    1213        wp_register_script( 'tfba_socialfeed', plugin_dir_url( __FILE__ ) . '../js/jquery.socialfeed.js', array( 'jquery' ) );
    1314        wp_register_style( 'tfba_socialfeed_style', plugin_dir_url( __FILE__ )  . '../css/jquery.socialfeed.css', false, '1.0.0' );
  • arrow-twitter-feed/trunk/includes/tfba-enqueue-scripts.php

    r2147158 r2153213  
    66   
    77        wp_enqueue_script('jquery');
     8        wp_enqueue_script('moment');
     9
    810       
    911        wp_register_script( 'tfba_codebird', plugin_dir_url( __FILE__ ) . '../bower_components/codebird-js/codebird.js', array( 'jquery' ) );
    1012        wp_register_script( 'tfba_doT', plugin_dir_url( __FILE__ ) . '../bower_components/doT/doT.min.js', array( 'jquery' ) );
    11         wp_register_script( 'tfba_moment', plugin_dir_url( __FILE__ ) . '../bower_components/moment/min/moment.min.js', array( 'jquery' ) );
    1213        wp_register_script( 'tfba_socialfeed', plugin_dir_url( __FILE__ ) . '../js/jquery.socialfeed.js', array( 'jquery' ) );
    1314        wp_register_style( 'tfba_socialfeed_style', plugin_dir_url( __FILE__ )  . '../css/jquery.socialfeed.css', false, '1.0.0' );
Note: See TracChangeset for help on using the changeset viewer.