Code Duplication    Length = 8-9 lines in 2 locations

class.jetpack.php 2 locations

@@ 1076-1083 (lines=8) @@
1073
			);
1074
		}
1075
1076
		if ( ! wp_script_is( 'jquery.spin', 'registered' ) ) {
1077
			wp_register_script(
1078
				'jquery.spin',
1079
				Assets::get_file_url_for_environment( '_inc/build/jquery.spin.min.js', '_inc/jquery.spin.js' ),
1080
				array( 'jquery', 'spin' ),
1081
				'1.3'
1082
			);
1083
		}
1084
1085
		if ( ! wp_script_is( 'jetpack-gallery-settings', 'registered' ) ) {
1086
			wp_register_script(
@@ 1094-1102 (lines=9) @@
1091
			);
1092
		}
1093
1094
		if ( ! wp_script_is( 'jetpack-twitter-timeline', 'registered' ) ) {
1095
			wp_register_script(
1096
				'jetpack-twitter-timeline',
1097
				Assets::get_file_url_for_environment( '_inc/build/twitter-timeline.min.js', '_inc/twitter-timeline.js' ),
1098
				array( 'jquery' ),
1099
				'4.0.0',
1100
				true
1101
			);
1102
		}
1103
1104
		if ( ! wp_script_is( 'jetpack-facebook-embed', 'registered' ) ) {
1105
			wp_register_script(