1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-10 03:49:56 +00:00
TiddlyWiki5/tiddlywiki5/store/SampleJavaScriptWithError.tid
Jeremy Ruston 0cfef8affa Added support for a serverside tiddler file store
Preparatory to implementing saving changes to the server
2012-04-03 14:43:13 +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
}