Skip to content

Commit

Permalink
Merge pull request #10507 from zurb/fix-customizer-triggers-initializ…
Browse files Browse the repository at this point in the history
…ation

Include and init triggers by default in customizer JS
  • Loading branch information
kball committed Aug 7, 2017
2 parents e1a21b2 + 30c4ea0 commit 5d5ca42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion customizer/lib/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ module.exports = function(config, modules) {
"import { Foundation } from '" + dir + "/foundation.core';\n" +
"Foundation.addToJquery($);\n" +
"import { MediaQuery } from '" + dir + "/foundation.util.mediaQuery';\n" +
"Foundation.MediaQuery = MediaQuery;\n";
"Foundation.MediaQuery = MediaQuery;\n" +
"import { Triggers } from '" + dir + "/foundation.util.triggers';\n" +
"Triggers.init($, Foundation);\n";

// last 2 pieces work around https://github.com/zurb/foundation-sites/issues/10287

Expand Down

0 comments on commit 5d5ca42

Please sign in to comment.