John McLear
d67f170c46
lint: eejs/index.js
2021-02-21 21:06:38 -05:00
Egil
9c7dcb1d0a
eejs: Upgrade ejs to the latest version
...
The type of ejs's `__output` variable is now string instead of array
of strings, so the handling of `__output` had to change.
2021-02-14 23:36:53 -05:00
Richard Hansen
517fc88c54
eejs: Cache the compiled template, not the template string
2021-01-20 08:15:43 +00:00
Richard Hansen
4d2d439874
eejs: Simplify cache lookup logic
2021-01-20 08:15:43 +00:00
Richard Hansen
c8c3929058
eejs: Inline begin_capture
, end_capture
2021-01-20 08:15:43 +00:00
Richard Hansen
7d11d54323
eejs: Delete unused functions
2021-01-20 08:15:43 +00:00
Richard Hansen
351913c08e
eejs: Delete broken example
2021-01-20 08:15:43 +00:00
Richard Hansen
5987f75b0d
eejs: Unwrap unnecessarily wrapped line
2021-01-20 08:15:43 +00:00
Richard Hansen
ebc4956277
eejs: Fix straightforward ESLint errors
2021-01-19 19:59:25 +00:00
Richard Hansen
f54dcbc766
lint: Re-run eslint --fix
2020-12-16 22:09:48 +00:00
Richard Hansen
8e5fd19db2
lint: Run eslint --fix
on src/
2020-11-24 20:06:12 +00:00
John McLear
93829b9e33
pluginfw/performance: Dont cache if max age is 0 ( #4098 )
2020-06-08 17:21:55 +01:00
Chocobozzz
59b1a2d5e0
performance: add template cache for quicker page renders
2020-06-01 15:00:47 +01:00
John McLear
acc1a0626a
use latest ejs
2015-04-11 09:53:27 +01:00
John McLear
a553b44dbc
refix plugins
2015-01-11 23:59:18 +00:00
Timothy Gu
9b9a747167
Support ejs 2.0
...
Fixes #2437 .
This is still relying on undocumented behavior, but should unbreak the app
in the mean time.
2015-01-11 08:17:17 -08:00
webzwo0i
5d15f655f0
dont make local variables global
2014-12-14 22:01:28 +01:00
Marcel Klehr
c909ed256f
Fix #1247 , #1201 : Don't cache eejs blocks!
...
Caching eejs blocks led to many unexpected bugs
like having to restart the server after installing new plugins
or the legendary connectingbar.gif issue...
2012-12-06 18:35:35 +01:00
Marcel Klehr
059f6d280e
Pass on the render args to all eejs hooks
...
eejs.require('foo', {..render args..}) will
be passed on to all eejsBlock_X hooks as `hookContext.renderContext`
2012-11-01 13:44:06 +01:00
Egil Moeller
9a67a3a1db
Removed debug print
2012-04-20 15:08:50 +02:00
Egil Moeller
72c972b256
Bugfix for recursive dependency-installation and paths
2012-04-20 14:37:53 +02:00
Egil Moeller
b8a4333d1b
Exposed require to ejs pages!
2012-03-22 18:34:38 +01:00
Egil Moeller
37c0d279c1
Bugfix for when a block hook calls eejs.require recursively
2012-03-21 19:27:06 +01:00
Egil Moeller
a5366a0a16
Integrated hooks into templates and provided a blokc/hook for the left and right editbar menu
2012-03-13 20:32:56 +01:00
Egil Moeller
05c2e0fde5
Made all html pages into eejs templates
2012-03-13 18:24:45 +01:00
Egil Moeller
3ffed70850
Added inherit function
2012-03-13 17:42:15 +01:00
Egil Moeller
6fb0e00f03
Bugfixes for eejs
2012-03-13 17:31:40 +01:00
Egil Moeller
f6212f452c
Bugfix
2012-03-08 21:01:01 +01:00
Egil Moeller
92dc3e59d6
First attempt to implement the block system from django templates on top of the npm module ejs.
2012-03-07 17:36:11 +01:00