Comparing version 1.7.0 to 1.8.0
{ | ||
"name": "antic", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "antics", | ||
@@ -5,0 +5,0 @@ "preferGlobal": "true", |
'use strict'; | ||
var random = require('lodash.random'); | ||
module.exports = { | ||
random: function () { | ||
return jokes[random(0, jokes.length-1)]; | ||
} | ||
}; | ||
var jokes = [ | ||
@@ -25,2 +19,9 @@ 'Atom walks into a bar. The bartender tells him to split. Everyone dies.' | ||
,'I was going to make a belt out of wrist watches, but then I realized it would be a total waist of time.' | ||
,'A doe walks out of the woods, "That\'s the last time I do that for two bucks."' | ||
]; | ||
module.exports = { | ||
random: function () { | ||
return jokes[random(0, jokes.length-1)]; | ||
} | ||
}; |
'use strict'; | ||
var random = require('lodash.random'); | ||
module.exports = { | ||
random: function () { | ||
return lulz[random(0, lulz.length-1)]; | ||
} | ||
}; | ||
var lulz = [ | ||
@@ -17,3 +11,13 @@ '\\[^_^]/' | ||
,'¯\\_(ツ)_/¯' | ||
,'\\(• ◡ •)/' | ||
,'ಠ_ಠ' | ||
,'ఠ_ఠ' | ||
,'⊙_ʘ' | ||
,'⊂(◉‿◉)つ' | ||
]; | ||
module.exports = { | ||
random: function () { | ||
return lulz[random(0, lulz.length-1)]; | ||
} | ||
}; |
4823
49