====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
script_template [2015/01/21 08:10] ajasei [About the script] |
script_template [2015/05/05 20:27] (current) trianguloy |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== About the script ====== | ====== About the script ====== | ||
- | * Purpose : show battery "charging" or "discharging" state | + | * Purpose : explain what the script does |
- | * Author : Abednego JS ( https://plus.google.com/u/0/118095355037125433304 ) | + | * Author : who wrote this script |
- | * Link: https://plus.google.com/u/0/118095355037125433304/posts/UXfaG9YQyqX | + | * Link: if needed, you may add a link here |
====== How to use the script ====== | ====== How to use the script ====== | ||
Line 9: | Line 9: | ||
====== Script code ====== | ====== Script code ====== | ||
- | <code> | + | <sxh javascript> |
+ | |||
+ | //New tag, line completion and colors. | ||
+ | //The previous one was <code> script(); </code> | ||
+ | //remove those lines and write here your script | ||
yourJavaScriptCodeHere(); | yourJavaScriptCodeHere(); | ||
- | </code> | + | |
+ | </sxh> |