From a55b8dff1f0d2254960eb17f3c74806ffa635430 Mon Sep 17 00:00:00 2001 From: Nordanne Isahac Date: Wed, 16 Jan 2019 13:26:48 +0800 Subject: [PATCH] fix: add Triggers as Magellan dependency #11645 --- js/foundation.magellan.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/foundation.magellan.js b/js/foundation.magellan.js index a7f813f91..d2e6696f7 100644 --- a/js/foundation.magellan.js +++ b/js/foundation.magellan.js @@ -6,10 +6,13 @@ import { Plugin } from './foundation.core.plugin'; import { onLoad, GetYoDigits } from './foundation.core.utils'; import { SmoothScroll } from './foundation.smoothScroll'; +import { Triggers } from './foundation.util.triggers'; + /** * Magellan module. * @module foundation.magellan * @requires foundation.smoothScroll + * @requires foundation.util.triggers */ class Magellan extends Plugin { @@ -26,6 +29,9 @@ class Magellan extends Plugin { this.options = $.extend({}, Magellan.defaults, this.$element.data(), options); this.className = 'Magellan'; // ie9 back compat + // Triggers init is idempotent, just need to make sure it is initialized + Triggers.init($); + this._init(); this.calcPoints(); } -- 2.47.2