From 175eff136eef7738c20caacd97317fb1fcd54aac Mon Sep 17 00:00:00 2001 From: Corrine Olson Date: Fri, 22 Jul 2016 08:52:44 -0400 Subject: [PATCH] Undo dist file changes from building --- dist/foundation.js | 5 ++--- dist/plugins/foundation.interchange.js | 4 ++-- dist/plugins/foundation.util.triggers.js | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/dist/foundation.js b/dist/foundation.js index 90f5d835e..63b04ace2 100644 --- a/dist/foundation.js +++ b/dist/foundation.js @@ -1585,7 +1585,7 @@ * @function * @private */ - $(window).on('load', function () { + $(window).load(function () { checkListeners(); }); @@ -4766,7 +4766,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Replacing images if (this.$element[0].nodeName === 'IMG') { - this.$element.attr('src', path).on('load', function () { + this.$element.attr('src', path).load(function () { _this.currentPath = path; }).trigger(trigger); } @@ -9067,4 +9067,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Window exports Foundation.plugin(Tooltip, 'Tooltip'); }(jQuery); - diff --git a/dist/plugins/foundation.interchange.js b/dist/plugins/foundation.interchange.js index 7885b37ce..7531ccde5 100644 --- a/dist/plugins/foundation.interchange.js +++ b/dist/plugins/foundation.interchange.js @@ -164,7 +164,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Replacing images if (this.$element[0].nodeName === 'IMG') { - this.$element.attr('src', path).on('load', function () { + this.$element.attr('src', path).load(function () { _this.currentPath = path; }).trigger(trigger); } @@ -224,4 +224,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Window exports Foundation.plugin(Interchange, 'Interchange'); -}(jQuery); +}(jQuery); \ No newline at end of file diff --git a/dist/plugins/foundation.util.triggers.js b/dist/plugins/foundation.util.triggers.js index 47b72750d..17eb7cbc3 100644 --- a/dist/plugins/foundation.util.triggers.js +++ b/dist/plugins/foundation.util.triggers.js @@ -62,7 +62,7 @@ * @function * @private */ - $(window).on('load', function () { + $(window).load(function () { checkListeners(); }); @@ -240,4 +240,4 @@ // }, debounce || 150); // } // } -// } +// } \ No newline at end of file -- 2.47.2