From 47a5078596521d2b6b7003b816c650a04ee34fda Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 22 Feb 2016 15:29:24 -0500 Subject: [PATCH] switch to jquery slim --- dashboard-ui/scripts/site.js | 2 +- dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.widget.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 86e9fd2da5..86f73c7606 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -1773,7 +1773,7 @@ var AppInfo = {}; masonry: bowerPath + '/masonry/dist/masonry.pkgd.min', humanedate: 'components/humanedate', chromecasthelpers: 'components/chromecasthelpers', - jQuery: bowerPath + '/jquery/dist/jquery.min', + jQuery: bowerPath + '/jquery/dist/jquery.slim.min', fastclick: bowerPath + '/fastclick/lib/fastclick', events: apiClientBowerPath + '/events', credentialprovider: apiClientBowerPath + '/credentials', diff --git a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.widget.js b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.widget.js index 37a20e8715..39a9b6eae3 100644 --- a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.widget.js +++ b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.widget.js @@ -414,7 +414,7 @@ if (selector) { delegateElement.delegate(selector, eventName, handlerProxy); } else { - element.bind(eventName, handlerProxy); + element.on(eventName, handlerProxy); } }); },