thelounge/client/js/libs/handlebars
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
..
ircmessageparser Update to eslint 4 and enforce extra rules 2017-06-19 09:58:29 +03:00
colorClass.js Use require() instead of import in client code 2017-03-18 11:21:18 +02:00
diff.js Use require() instead of import in client code 2017-03-18 11:21:18 +02:00
equal.js Use require() instead of import in client code 2017-03-18 11:21:18 +02:00
friendlydate.js Use moment to render dates everywhere 2017-05-01 21:31:31 +03:00
localedate.js Use moment to render dates everywhere 2017-05-01 21:31:31 +03:00
localetime.js Use moment to render dates everywhere 2017-05-01 21:31:31 +03:00
modes.js Use require() instead of import in client code 2017-03-18 11:21:18 +02:00
parse.js Enforce correct order for previews on server-side prefectch rather than at client parsing 2017-07-21 01:06:42 -04:00
roundBadgeNumber.js Use require() instead of import in client code 2017-03-18 11:21:18 +02:00
slugify.js Add slug with command to unhandled messages 2017-04-16 12:31:32 +03:00
tojson.js Use require() instead of import in client code 2017-03-18 11:21:18 +02:00
tz.js Show seconds in timestamp 2017-06-10 14:53:15 +03:00