Code Duplication    Length = 3-3 lines in 2 locations

class.jetpack.php 2 locations

@@ 803-805 (lines=3) @@
800
			wp_register_script( 'spin', plugins_url( '_inc/spin.js', JETPACK__PLUGIN_FILE ), false, '1.3' );
801
		}
802
803
		if ( ! wp_script_is( 'jquery.spin', 'registered' ) ) {
804
			wp_register_script( 'jquery.spin', plugins_url( '_inc/jquery.spin.js', JETPACK__PLUGIN_FILE ) , array( 'jquery', 'spin' ), '1.3' );
805
		}
806
807
		if ( ! wp_script_is( 'jetpack-gallery-settings', 'registered' ) ) {
808
			wp_register_script( 'jetpack-gallery-settings', plugins_url( '_inc/gallery-settings.js', JETPACK__PLUGIN_FILE ), array( 'media-views' ), '20121225' );
@@ 811-813 (lines=3) @@
808
			wp_register_script( 'jetpack-gallery-settings', plugins_url( '_inc/gallery-settings.js', JETPACK__PLUGIN_FILE ), array( 'media-views' ), '20121225' );
809
		}
810
811
		if ( ! wp_script_is( 'jetpack-twitter-timeline', 'registered' ) ) {
812
			wp_register_script( 'jetpack-twitter-timeline', plugins_url( '_inc/twitter-timeline.js', JETPACK__PLUGIN_FILE ) , array( 'jquery' ), '4.0.0', true );
813
		}
814
815
		if ( ! wp_script_is( 'jetpack-facebook-embed', 'registered' ) ) {
816
			wp_register_script( 'jetpack-facebook-embed', plugins_url( '_inc/facebook-embed.js', __FILE__ ), array( 'jquery' ), null, true );