mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-07 14:23:53 +00:00
Remove "debugger" statement from code - Make confetti examples more impressive (#8284)
* make confetti examples more impressive * comment debugger statement
This commit is contained in:
parent
b6cf098c5f
commit
5b9f4751ea
@ -33,7 +33,7 @@ ConfettiManager.prototype.launch = function (delay,options) {
|
|||||||
self.outstandingTimers.splice(p,1);
|
self.outstandingTimers.splice(p,1);
|
||||||
} else {
|
} else {
|
||||||
console.log("Confetti Manager Error: Cannot find previously stored timer ID");
|
console.log("Confetti Manager Error: Cannot find previously stored timer ID");
|
||||||
debugger;
|
// debugger;
|
||||||
}
|
}
|
||||||
confetti(options);
|
confetti(options);
|
||||||
},delay);
|
},delay);
|
||||||
|
@ -3,7 +3,8 @@ tags: $:/tags/ConfettiExample
|
|||||||
|
|
||||||
<$button>
|
<$button>
|
||||||
<$action-sendmessage $message="tm-confetti-launch"/>
|
<$action-sendmessage $message="tm-confetti-launch"/>
|
||||||
<$action-sendmessage $message="tm-confetti-launch" originY=0.6 spread=70 delay=300/>
|
<$action-sendmessage $message="tm-confetti-launch" delay=300 originY=0.6 spread=100 scalar=1.5/>
|
||||||
<$action-sendmessage $message="tm-confetti-launch" originY=0.55 spread=30 delay=600/>
|
<$action-sendmessage $message="tm-confetti-launch" delay=400 originY=0.55 spread=130/>
|
||||||
Launch three staggered rounds of confetti
|
<$action-sendmessage $message="tm-confetti-launch" delay=500 originY=0.55 spread=170 scalar=2/>
|
||||||
|
Launch four staggered rounds of confetti
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -6,5 +6,5 @@ Type the word "launch": <$edit-text tiddler="$:/temp/confetti/launchstatus" tag=
|
|||||||
<$list filter="[{$:/temp/confetti/launchstatus}match:caseinsensitive[launch]]" variable="ignore">
|
<$list filter="[{$:/temp/confetti/launchstatus}match:caseinsensitive[launch]]" variable="ignore">
|
||||||
Launched!
|
Launched!
|
||||||
<$confetti particleCount=100/>
|
<$confetti particleCount=100/>
|
||||||
<$confetti particleCount=100 delay=300/>
|
<$confetti particleCount=100 spread=170 delay=300/>
|
||||||
</$list>
|
</$list>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user