mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 22:04:37 +00:00
Added support for a serverside tiddler file store
Preparatory to implementing saving changes to the server
This commit is contained in:
13
tiddlywiki5/store/SampleJavaScriptWithError.tid
Normal file
13
tiddlywiki5/store/SampleJavaScriptWithError.tid
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user