1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 10:37:20 +00:00
TiddlyWiki5/rabbithole/tw5.com/store/SampleJavaScriptWithError.tid
Jeremy Ruston d93bbbbe7b Introduce plugin module mechanism
See the readme for details
2012-04-30 12:23:03 +01:00

14 lines
230 B
Plaintext

title: SampleJavaScriptWithError
type: application/javascript
/*
This is an example JavaScript file
*/
function myFunction(param) {
if(=) { // An error
param = param/17;
}
return param * Math.PI; // Perform a calculation
}