forked from GitHub/dbot
remove chancein
This commit is contained in:
parent
6dfa5de478
commit
5bcd1d9c27
@ -24,13 +24,6 @@ String.prototype.format = function() { // format takes either multiple indexed a
|
|||||||
return targetStr;
|
return targetStr;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*** Integer ***/
|
|
||||||
|
|
||||||
Number.prototype.chanceIn = function(x, y) {
|
|
||||||
var num = Math.floor(Math.random() * (y + 1)) / x;
|
|
||||||
return num == 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*** Regex ***/
|
/*** Regex ***/
|
||||||
RegExp.prototype.url_regex = function() {
|
RegExp.prototype.url_regex = function() {
|
||||||
var reg = new RegExp(
|
var reg = new RegExp(
|
||||||
|
Loading…
Reference in New Issue
Block a user