3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-27 13:12:44 +01:00

remove chancein

This commit is contained in:
reality 2013-05-17 17:04:55 +00:00
parent 6dfa5de478
commit 5bcd1d9c27

View File

@ -24,13 +24,6 @@ String.prototype.format = function() { // format takes either multiple indexed a
return targetStr;
};
/*** Integer ***/
Number.prototype.chanceIn = function(x, y) {
var num = Math.floor(Math.random() * (y + 1)) / x;
return num == 1;
};
/*** Regex ***/
RegExp.prototype.url_regex = function() {
var reg = new RegExp(