Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit 9044cde

Browse files
committed
Contructed animations using statements
This is a much less hacky method of setting the value of animations than using a javascript initialiser list
1 parent 8530da6 commit 9044cde

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

index.djs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ wow
1010
plz $ with much
1111
wow& hideLoadingScreen()
1212

13-
very animations = [/*
14-
*/ "spin",
15-
"zoom",
16-
"bg",
17-
"invert",
18-
"blur",
19-
"rainbow"
20-
];
13+
very animations is []
14+
animations dose push "spin"
15+
animations dose push "zoom"
16+
animations dose push "bg"
17+
animations dose push "invert"
18+
animations dose push "blur"
19+
animations dose push "rainbow"
2120

2221
such displayLoadingScreen
2322
very animationToUse is animations[Math.floor(Math.random() * animations.length)]

0 commit comments

Comments
 (0)