Completed
Push — master ( 433c60...be99ef )
by
unknown
07:34
created
public/includes/assets.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
 			wp_enqueue_style('lasso-style', LASSO_URL.'/public/assets/css/lasso.css', LASSO_VERSION, true);
24 24
 
25
-            //don't load autocomplete if it's a stockholm theme
25
+			//don't load autocomplete if it's a stockholm theme
26 26
 			$themename  	= wp_get_theme()->get('Name');
27 27
 			if ($themename !='Stockholm' ) {
28 28
 				wp_enqueue_script('jquery-ui-autocomplete');
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 			$postid 			= get_the_ID();
86 86
 			
87 87
 			$post_date = get_the_time('U', $postid);
88
-            $delta = time() - $post_date;
88
+			$delta = time() - $post_date;
89 89
 
90 90
 			$strings = array(
91 91
 				'save' 				=> __('Save','lasso'),
@@ -132,11 +132,11 @@  discard block
 block discarded – undo
132 132
 			$gallery_nonce = wp_create_nonce( $gallery_nonce_action );
133 133
 			
134 134
 			
135
-            if ($allow_change_date) {
136
-			    $permalink = get_site_url().'/?p='.$postid;
137
-            } else {
138
-                $permalink = get_permalink($postid);
139
-            }
135
+			if ($allow_change_date) {
136
+				$permalink = get_site_url().'/?p='.$postid;
137
+			} else {
138
+				$permalink = get_permalink($postid);
139
+			}
140 140
 			
141 141
 			// rest api
142 142
 			$rest_nonce = '';
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
 			
234 234
 			
235 235
 			if (!$using_restapiv2) {
236
-               // enqueue REST API V1
236
+			   // enqueue REST API V1
237 237
 			   wp_enqueue_script( 'wp-api-js', LASSO_URL.'/public/assets/js/source/util--wp-api.js', array( 'jquery', 'underscore', 'backbone' ), LASSO_VERSION, true );
238 238
 			   $settings = array( 'root' => home_url( $home_url ), 'nonce' => wp_create_nonce( 'wp_json' ) );
239 239
 			   wp_localize_script( 'wp-api-js', 'WP_API_Settings', $settings );
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
 			if ($show_color) {
250 250
 				wp_enqueue_script('lasso', LASSO_URL. "/public/assets/js/lasso{$postfix}.js", array('jquery', 'wp-api','iris'), LASSO_VERSION, true);
251 251
 			} else {
252
-			    wp_enqueue_script('lasso', LASSO_URL. "/public/assets/js/lasso{$postfix}.js", array('jquery', 'wp-api'), LASSO_VERSION, true);
252
+				wp_enqueue_script('lasso', LASSO_URL. "/public/assets/js/lasso{$postfix}.js", array('jquery', 'wp-api'), LASSO_VERSION, true);
253 253
 			}
254 254
 			wp_localize_script('lasso', 'lasso_editor', apply_filters('lasso_localized_objects', $objects ) );
255 255
 
Please login to merge, or discard this patch.