]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixes #7334, adds slashes to prevent docs generator from compiling to markup
authorzurbchris <chris@zurb.com>
Tue, 1 Dec 2015 17:35:35 +0000 (09:35 -0800)
committerzurbchris <chris@zurb.com>
Tue, 1 Dec 2015 17:35:35 +0000 (09:35 -0800)
js/foundation.drilldown.js

index 0d022b32e1c4f8b112b8cabb671d5057ccbd183e..acac64265b99726750aee5e065482af64e34d9e3 100644 (file)
   }
   Drilldown.defaults = {
     /**
-     * Markup used for JS generated back button. Prepended to submenu lists and deleted on `destroy` method.
+     * Markup used for JS generated back button. Prepended to submenu lists and deleted on `destroy` method, 'js-drilldown-back' class required. Remove the backslash (`\`) if copy and pasting.
      * @option
-     * @example '<li><a>Back</a></li>'
+     * @example '<\li><\a>Back<\/a><\/li>'
      */
     backButton: '<li class="js-drilldown-back"><a>Back</a></li>',
     /**
-     * Markup used to wrap drilldown menu. Use a class name for independent styling, or the JS applied class: `is-drilldown`.
+     * Markup used to wrap drilldown menu. Use a class name for independent styling; the JS applied class: `is-drilldown` is required. Remove the backslash (`\`) if copy and pasting.
      * @option
-     * @example '<div></div>'
+     * @example '<\div class="is-drilldown"><\/div>'
      */
     wrapper: '<div></div>',
     /**