Autonomía digital y tecnológica

Código e ideas para una internet distribuida

Linkoteca. Navigation archive


How Dokuwiki loads Javascript and how to add custom JS code

All JavaScript is collected and delivered by lib/exe/js.php. This file will concatenate all found files, whitespace compress (if compress is enabled) and cache the result. It also instructs browsers to cache the file, so when you are developing new JavaScript, be sure to refresh your browser cache (hitting Shift-F5, Shift+CTRL+R or similar) whenever your script was updated.

DokuWiki will load JavaScript from the following places:

autogenerated JavaScript (language strings, config settings, toolbar)
lib/scripts/*.js
lib/plugins/*/script.js
lib/tpl//script.js
conf/userscript.js

Dejar un comentario

No hay comentarios en esta entrada.
*
*

 

No hay trackbacks