@@ 743-745 (lines=3) @@ | ||
740 | * @return null |
|
741 | */ |
|
742 | public function register_assets() { |
|
743 | if ( ! wp_script_is( 'spin', 'registered' ) ) { |
|
744 | wp_register_script( 'spin', plugins_url( '_inc/spin.js', JETPACK__PLUGIN_FILE ), false, '1.3' ); |
|
745 | } |
|
746 | ||
747 | if ( ! wp_script_is( 'jquery.spin', 'registered' ) ) { |
|
748 | wp_register_script( 'jquery.spin', plugins_url( '_inc/jquery.spin.js', JETPACK__PLUGIN_FILE ) , array( 'jquery', 'spin' ), '1.3' ); |
|
@@ 747-749 (lines=3) @@ | ||
744 | wp_register_script( 'spin', plugins_url( '_inc/spin.js', JETPACK__PLUGIN_FILE ), false, '1.3' ); |
|
745 | } |
|
746 | ||
747 | if ( ! wp_script_is( 'jquery.spin', 'registered' ) ) { |
|
748 | wp_register_script( 'jquery.spin', plugins_url( '_inc/jquery.spin.js', JETPACK__PLUGIN_FILE ) , array( 'jquery', 'spin' ), '1.3' ); |
|
749 | } |
|
750 | ||
751 | if ( ! wp_script_is( 'jetpack-gallery-settings', 'registered' ) ) { |
|
752 | wp_register_script( 'jetpack-gallery-settings', plugins_url( '_inc/gallery-settings.js', JETPACK__PLUGIN_FILE ), array( 'media-views' ), '20121225' ); |
|
@@ 755-757 (lines=3) @@ | ||
752 | wp_register_script( 'jetpack-gallery-settings', plugins_url( '_inc/gallery-settings.js', JETPACK__PLUGIN_FILE ), array( 'media-views' ), '20121225' ); |
|
753 | } |
|
754 | ||
755 | if ( ! wp_script_is( 'jetpack-twitter-timeline', 'registered' ) ) { |
|
756 | wp_register_script( 'jetpack-twitter-timeline', plugins_url( '_inc/twitter-timeline.js', JETPACK__PLUGIN_FILE ) , array( 'jquery' ), '4.0.0', true ); |
|
757 | } |
|
758 | ||
759 | if ( ! wp_script_is( 'jetpack-facebook-embed', 'registered' ) ) { |
|
760 | wp_register_script( 'jetpack-facebook-embed', plugins_url( '_inc/facebook-embed.js', __FILE__ ), array( 'jquery' ), null, true ); |