From cb547d86bc46d8279ffb08b601691b74247b9f8b Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Thu, 16 Dec 2010 18:25:16 +0100 Subject: [PATCH] remove repeatString from util --- plugins/pilot/util.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/plugins/pilot/util.js b/plugins/pilot/util.js index 0ae29c9e..662e69bd 100644 --- a/plugins/pilot/util.js +++ b/plugins/pilot/util.js @@ -260,21 +260,6 @@ exports.makeArray = function(number, character) { return newArray; }; -/** - * Repeat a string a given number of times. - * @param string String to repeat - * @param repeat Number of times to repeat - */ -exports.repeatString = function(string, repeat) { - var newstring = ''; - - for (var i = 0; i < repeat; i++) { - newstring += string; - } - - return newstring; -}; - /** * Given a row, find the number of leading spaces. * E.g. an array with the string " aposjd" would return 2