projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
node_modules
/
underscore.string
/
helper
/
strRepeat.js
1
module.exports = function strRepeat(str, qty){
2
if (qty < 1) return '';
3
var result = '';
4
while (qty > 0) {
5
if (qty & 1) result += str;
6
qty >>= 1, str += str;
7
}
8
return result;
9
};