From ecd8c81594b14ffdc14d9f0e0617e4a159950387 Mon Sep 17 00:00:00 2001 From: Kevin Ball Date: Wed, 28 Jun 2017 20:45:36 -0700 Subject: [PATCH] Fix global media query reference --- js/foundation.core.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/foundation.core.js b/js/foundation.core.js index 589f15876..bd5fe4611 100644 --- a/js/foundation.core.js +++ b/js/foundation.core.js @@ -2,6 +2,8 @@ import $ from 'jquery'; import { GetYoDigits } from './foundation.util.core'; +import { MediaQuery } from './foundation.util.mediaQuery'; + var FOUNDATION_VERSION = '6.4.0'; // Global Foundation object @@ -193,7 +195,7 @@ var Foundation = { } if(type === 'undefined'){//needs to initialize the Foundation object, or an individual plugin. - Foundation.MediaQuery._init(); + MediaQuery._init(); Foundation.reflow(this); }else if(type === 'string'){//an individual method to invoke on a plugin or group of plugins var args = Array.prototype.slice.call(arguments, 1);//collect all the arguments, if necessary -- 2.47.2