hardlounge/test
Jérémie Astori a13c08a45b
Enforce correct order for previews on server-side prefectch rather than at client parsing
This has the benefit of not adding `.preview` divs everywhere, anytime we use `parse()`, and also to un-tie the position of the preview blocks from the result of the helper. This means that templates that call `parse` and have some extra markup after that are not constrained anymore.

This is effectively an alternative, better way to fix https://github.com/thelounge/lounge/issues/1343, but the initial fix that was put in place (https://github.com/thelounge/lounge/pull/1347) is still relevant, for example to make sure a preview stays hidden (and does not add extra margin/padding/etc.) if the link does not prefetch.
2017-07-21 01:06:42 -04:00
..
client/js/libs/handlebars Enforce correct order for previews on server-side prefectch rather than at client parsing 2017-07-21 01:06:42 -04:00
commands Add mode command test suite 2016-10-15 14:23:39 +03:00
fixtures Add web server tests 2016-12-28 03:31:33 -05:00
models Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00
plugins Enforce correct order for previews on server-side prefectch rather than at client parsing 2017-07-21 01:06:42 -04:00
tests Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00
mocha.opts Add a simple (first) test for localetime Handlebars helper 2016-10-20 01:49:34 +02:00
server.js Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00
util.js Enforce correct order for previews on server-side prefectch rather than at client parsing 2017-07-21 01:06:42 -04:00