Code Duplication    Length = 8-9 lines in 2 locations

class.jetpack.php 2 locations

@@ 1060-1067 (lines=8) @@
1057
			);
1058
		}
1059
1060
		if ( ! wp_script_is( 'jquery.spin', 'registered' ) ) {
1061
			wp_register_script(
1062
				'jquery.spin',
1063
				Assets::get_file_url_for_environment( '_inc/build/jquery.spin.min.js', '_inc/jquery.spin.js' ),
1064
				array( 'jquery', 'spin' ),
1065
				'1.3'
1066
			);
1067
		}
1068
1069
		if ( ! wp_script_is( 'jetpack-gallery-settings', 'registered' ) ) {
1070
			wp_register_script(
@@ 1078-1086 (lines=9) @@
1075
			);
1076
		}
1077
1078
		if ( ! wp_script_is( 'jetpack-twitter-timeline', 'registered' ) ) {
1079
			wp_register_script(
1080
				'jetpack-twitter-timeline',
1081
				Assets::get_file_url_for_environment( '_inc/build/twitter-timeline.min.js', '_inc/twitter-timeline.js' ),
1082
				array( 'jquery' ),
1083
				'4.0.0',
1084
				true
1085
			);
1086
		}
1087
1088
		if ( ! wp_script_is( 'jetpack-facebook-embed', 'registered' ) ) {
1089
			wp_register_script(