From fcc685f9df0d75930a9a9206f9ce075b91908a53 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Tue, 6 Jan 2015 11:54:18 -0600 Subject: [PATCH] Update to jQuery 1.11.2 --- bower.json | 2 +- lib/assets.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bower.json b/bower.json index 9f31974..24f05f1 100644 --- a/bower.json +++ b/bower.json @@ -9,7 +9,7 @@ "private": true, "dependencies": { "modernizr": "2.8.2", - "jquery": "1.11.1", + "jquery": "1.11.2", "bootstrap": "3.3.1" }, "overrides": { diff --git a/lib/assets.php b/lib/assets.php index 5817999..d90862b 100644 --- a/lib/assets.php +++ b/lib/assets.php @@ -6,7 +6,7 @@ * 1. /theme/dist/styles/main.css * * Enqueue scripts in the following order: - * 1. jquery-1.11.1.js via Google CDN + * 1. jquery-1.11.2.js via Google CDN * 2. /theme/dist/scripts/modernizr.js * 3. /theme/dist/scripts/app.js * @@ -44,7 +44,7 @@ function roots_assets() { if (!is_admin() && current_theme_supports('jquery-cdn')) { wp_deregister_script('jquery'); - wp_register_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js', array(), null, true); + wp_register_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.js', array(), null, true); add_filter('script_loader_src', 'roots_jquery_local_fallback', 10, 2); }