From 5bcd1d9c27993171544b1a439ad2fe5a9faa3f7b Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 17 May 2013 17:04:55 +0000 Subject: [PATCH] remove chancein --- snippets.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/snippets.js b/snippets.js index 3aca93f..caf4b60 100644 --- a/snippets.js +++ b/snippets.js @@ -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(