2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

grunt dist docs

[ci skip]
This commit is contained in:
Chris Rebert
2016-01-01 12:37:52 -08:00
parent e9192f6de0
commit 422ed9ab48
27 changed files with 52 additions and 34 deletions
+2
View File
@@ -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;
},