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; 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(