wet-boew / wet-boew-styleguide

A style guide for the Web Experience Toolkit.
http://wet-boew.github.io/wet-boew-styleguide/index-en.html
36 stars 32 forks source link

v4.0 AJAX mega menu fragment is missing #149

Closed EricDunsworth closed 10 years ago

EricDunsworth commented 10 years ago

I've noticed that currently, any time I load in any of the v4.0 style guide's pages in JavaScript-enabled browsers, the hardcoded WET mega menu disappears within a couple of seconds. This seems to be due to a a combination of a missing ajax fragment referenced in all data-ajax-fetch attributes and wet-boew/wet-boew#5533.

Example (hardcoded mega menu quickly flashes and disappears): http://wet-boew.github.io/wet-boew-styleguide/v4/index-en.html

Any chance this could be looked into/resolved?

pjackson28 commented 10 years ago

@EricDunsworth Could you please fix the ajax fragment references?

EricDunsworth commented 10 years ago

@pjackson28 I'll try to give it a shot sometime this week.

EricDunsworth commented 10 years ago

@pjackson28 Haven't fixed it so far, but I took a look at it at some point last night. Seems like a minified version of wet-boew's /ajax/ folder never gets generated when building (only the unminified version gets created).

As a result, there's no minified /ajax/ folder to copy over when this part of the gruntfile gets processed: https://github.com/wet-boew/wet-boew-styleguide/blob/master/Gruntfile.coffee#L127

pjackson28 commented 10 years ago

Fixed by #183

EricDunsworth commented 10 years ago

@pjackson28 Thanks :)! I doubt I would've ever been able to figure that out :(.