minor tidy-up
This commit is contained in:
parent
022f3b240d
commit
3fd894954b
1 changed files with 3 additions and 3 deletions
|
|
@ -45,9 +45,9 @@ define(function(require, exports, module) {
|
|||
};
|
||||
|
||||
lang.stringRepeat = function (string, count) {
|
||||
return new Array(count + 1).join(string);
|
||||
}
|
||||
|
||||
return new Array(count + 1).join(string);
|
||||
};
|
||||
|
||||
if (Array.prototype.indexOf) {
|
||||
lang.arrayIndexOf = function(array, searchElement) {
|
||||
return array.indexOf(searchElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue