[Pkg-mozext-commits] [tabmixplus] 36/107: String.prototype.repeat available from Firefox 24.0
David Prévot
taffit at moszumanska.debian.org
Tue Dec 29 19:02:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit b27d2f092dada03aa17d6b09c34a5c9868dfa62e
Author: onemen <tabmix.onemen at gmail.com>
Date: Thu Oct 29 17:46:43 2015 +0200
String.prototype.repeat available from Firefox 24.0
---
modules/DynamicRules.jsm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/DynamicRules.jsm b/modules/DynamicRules.jsm
index 6cb592b..d57c65e 100644
--- a/modules/DynamicRules.jsm
+++ b/modules/DynamicRules.jsm
@@ -104,9 +104,8 @@ this.DynamicRules = {
},
createTemplates: function() {
- // String.prototype.repeat available from Firefox 24.0
- let space20 = ' ';
- let space26 = ' ';
+ let space20 = ' '.repeat(20);
+ let space26 = ' '.repeat(26);
let bgImage = {};
bgImage.body = "linear-gradient(#topColor, #bottomColor)";
let bottomBorder = "linear-gradient(to top, rgba(10%,10%,10%,.4) 1px, transparent 1px),\n";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list