]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - jekyll/cerdoaleatorio/script.coffee
Uses ssl google fonts
[rbdr/r.bdr.sh] / jekyll / cerdoaleatorio / script.coffee
CommitLineData
9dd92647
BB
1class RandomPig
2
3 # Initializes the RandomPig instance
4 constructor:
5 @imageSearch = null
6
7 @queries = [ "Cute Pig -meat", "Piggie", "Nice Pig -meat",
8 "Happy Pig -meat", "Pig Toy", "Pig Plush", "Pig Cartoon",
9 "Cerdo Feliz", "Cerdito Feliz", "Cute Piggies",
10 "Happy Piggies", "piglets", "Cute piglets",
11 "Happy piglets", "かわいい 豚", "Funny Pig"]
12 @bufferSize = 5
13 @history = 10
14
15 searchForPig:
16
17 search:
18
19 putPig:
20
21 nextPig:
22
23 lastPig: