浏览代码

Remove jquery dep.

Jeff Ong 4 年之前
父节点
当前提交
8f1b4404b6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      independent-publisher-2/inc/wpcom.php

+ 1 - 1
independent-publisher-2/inc/wpcom.php

@@ -35,7 +35,7 @@ add_action( 'after_setup_theme', 'independent_publisher_2_wpcom_setup' );
  * WordPress.com specific styles
  * WordPress.com specific styles
  */
  */
 function independent_publisher_2_wpcom_styles() {
 function independent_publisher_2_wpcom_styles() {
-	wp_enqueue_script( 'independent-publisher-2-wpcom-functions', get_template_directory_uri() . '/inc/script-wpcom.js', array( 'jquery' ), '20150806', true );
+	wp_enqueue_script( 'independent-publisher-2-wpcom-functions', get_template_directory_uri() . '/inc/script-wpcom.js', array(), '20210111', true );
 	wp_enqueue_style( 'independent-publisher-2-wpcom-style', get_template_directory_uri() . '/inc/style-wpcom.css', '20150827' );
 	wp_enqueue_style( 'independent-publisher-2-wpcom-style', get_template_directory_uri() . '/inc/style-wpcom.css', '20150827' );
 }
 }
 add_action( 'wp_enqueue_scripts', 'independent_publisher_2_wpcom_styles' );
 add_action( 'wp_enqueue_scripts', 'independent_publisher_2_wpcom_styles' );