Doesn't work {{ dump(vars())) }} in overlay windows.

For an example, let's add {{ dump(vars())) }} to the forum_mark_read template.
Result:
Spoiler: Error
error1.webp
When using jQuery, we used the $.globalEval method. This method works differently than the javascript eval() method, this method is executed inside the global context.
In strict mode, eval() has its own lexical environment. Therefore, functions and variables declared inside eval() cannot be seen from the outside.
To execute a line of code using eval in global scope, I suggest using...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ