aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2015-12-05 09:15:18 +0200
committerXhmikosR <[email protected]>2015-12-05 11:43:23 +0200
commit34a0ce571e4d21c70affb870844edd94fa7b78a0 (patch)
tree35a9c40a96d47afcf7797861d051ea173cb65822 /docs/dist/js
parent419128887352755586ed75904c3dd560cb519ccd (diff)
downloadbootstrap-34a0ce571e4d21c70affb870844edd94fa7b78a0.tar.xz
bootstrap-34a0ce571e4d21c70affb870844edd94fa7b78a0.zip
Run `grunt`.
[ci skip]
Diffstat (limited to 'docs/dist/js')
-rw-r--r--docs/dist/js/bootstrap.js2
-rw-r--r--docs/dist/js/umd/util.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index 4d4b14bb9..a4b05e273 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -129,7 +129,7 @@ var Util = (function ($) {
getUID: function getUID(prefix) {
do {
- prefix += ~ ~(Math.random() * 1000000);
+ prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
return prefix;
},
diff --git a/docs/dist/js/umd/util.js b/docs/dist/js/umd/util.js
index 003b93974..8f063b408 100644
--- a/docs/dist/js/umd/util.js
+++ b/docs/dist/js/umd/util.js
@@ -114,7 +114,7 @@
getUID: function getUID(prefix) {
do {
- prefix += ~ ~(Math.random() * 1000000);
+ prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
return prefix;
},