Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@chrisrebert.com>2016-01-01 23:37:52 +0300
committerChris Rebert <code@chrisrebert.com>2016-01-01 23:37:52 +0300
commit422ed9ab48af462bf57db975e844c527cc8554a4 (patch)
tree4aa10f4619e4e4d56cde48618f4982fb500667e9 /js/dist/util.js
parente9192f6de0d673275f771d160230c540ac9e3a74 (diff)
grunt dist docs
[ci skip]
Diffstat (limited to 'js/dist/util.js')
-rw-r--r--js/dist/util.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/dist/util.js b/js/dist/util.js
index bc1135106f..886f69d75e 100644
--- a/js/dist/util.js
+++ b/js/dist/util.js
@@ -101,7 +101,9 @@ var Util = (function ($) {
getUID: function getUID(prefix) {
do {
+ /* eslint-disable no-bitwise */
prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
+ /* eslint-enable no-bitwise */
} while (document.getElementById(prefix));
return prefix;
},