mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-30 05:41:49 -08:00
More docs updating
This commit is contained in:
parent
cd824a350a
commit
c677b4bddf
44 changed files with 142 additions and 40 deletions
|
|
@ -0,0 +1,14 @@
|
|||
title: SampleJavaScriptTiddlerWithError
|
||||
type: application/javascript
|
||||
tags: demo
|
||||
|
||||
/*
|
||||
This is an example JavaScript program that contains an error
|
||||
*/
|
||||
function myFunction(param) {
|
||||
if(=) { // An error
|
||||
param = param/17;
|
||||
}
|
||||
return param * Math.PI; // Perform a calculation
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue