From: Nicolas Coden Date: Fri, 19 Jan 2018 22:58:40 +0000 (+0100) Subject: feat: expose RegExpEscape X-Git-Tag: v6.6.0~3^2~316^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f7e40f78ae31cd9fe1102f8c89b31afa433e1b;p=thirdparty%2Ffoundation%2Ffoundation-sites.git feat: expose RegExpEscape --- diff --git a/dist/js/npm.js b/dist/js/npm.js index bad432327..c5702b300 100644 --- a/dist/js/npm.js +++ b/dist/js/npm.js @@ -6,10 +6,11 @@ Foundation.addToJquery($); // Add Foundation Utils to Foundation global namespace for backwards // compatibility. -import { rtl, GetYoDigits, transitionend } from '../../js/foundation.util.core'; +import { rtl, GetYoDigits, transitionend, RegExpEscape } from '../../js/foundation.util.core'; Foundation.rtl = rtl; Foundation.GetYoDigits = GetYoDigits; Foundation.transitionend = transitionend; +Foundation.RegExpEscape = RegExpEscape; import { Box } from '../../js/foundation.util.box' import { onImagesLoaded } from '../../js/foundation.util.imageLoader'; diff --git a/js/entries/foundation.js b/js/entries/foundation.js index 71c662224..e844645bb 100644 --- a/js/entries/foundation.js +++ b/js/entries/foundation.js @@ -6,10 +6,11 @@ Foundation.addToJquery($); // Add Foundation Utils to Foundation global namespace for backwards // compatibility. -import { rtl, GetYoDigits, transitionend } from '../foundation.util.core'; +import { rtl, GetYoDigits, transitionend, RegExpEscape } from '../foundation.util.core'; Foundation.rtl = rtl; Foundation.GetYoDigits = GetYoDigits; Foundation.transitionend = transitionend; +Foundation.RegExpEscape = RegExpEscape; import { Box } from '../foundation.util.box' import { onImagesLoaded } from '../foundation.util.imageLoader'; diff --git a/js/entries/plugins/foundation.core.js b/js/entries/plugins/foundation.core.js index ecfd89e3c..16b2556ad 100644 --- a/js/entries/plugins/foundation.core.js +++ b/js/entries/plugins/foundation.core.js @@ -6,10 +6,11 @@ Foundation.addToJquery($); // These are now separated out, but historically were a part of this module, // and since this is here for backwards compatibility we include them in // this entry. -import {rtl, GetYoDigits, transitionend} from '../../foundation.util.core'; +import {rtl, GetYoDigits, transitionend, RegExpEscape} from '../../foundation.util.core'; Foundation.rtl = rtl; Foundation.GetYoDigits = GetYoDigits; Foundation.transitionend = transitionend; +Foundation.RegExpEscape = RegExpEscape; // Every plugin depends on plugin now, we can include that on the core for the // script inclusion path.