Change comment:
added a note about minification and how to avoid it.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. acotiuga1 +XWiki.polx - Content
-
... ... @@ -84,6 +84,8 @@ 84 84 <script type='text/javascript' src='/xwiki/bin/jsx/XWiki/SkinExt?lang=en'></script> 85 85 {{/code}} 86 86 87 +You may also note, that the browser is delivered a minified version of the script given in the object's text. This is good practice for the memory of the browser but may make it hard to debug. Using the extra parameter ##debug=true## is a way to prevent it as explained in the [[Debugging Page>>url:http://dev.xwiki.org/xwiki/bin/view/Community/Debugging]]. 88 + 87 87 == Minimal StyleSheet eXtension == 88 88 89 89 Good, we wrote our first javascript extension. But, we see things big and we already are looking forward to modify the graphical appearance of wiki pages using those eXtensions. That's what **StyleSheet eXtensions** are meant for. And the good news is that it just works the same as javascript extensions, the only difference being that the code written is **CSS code**.