aboutsummaryrefslogtreecommitdiff
path: root/docs/assets
diff options
context:
space:
mode:
authorZlatan Vasović <[email protected]>2014-02-07 19:31:08 +0100
committerZlatan Vasović <[email protected]>2014-02-07 19:31:08 +0100
commitbdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c (patch)
treea6021c06e9d9f41be8aed8e8b6f92351d5ba931d /docs/assets
parent4d7b2ddba92e47f923d22d9d7b23cb7b0a3e0bc2 (diff)
downloadbootstrap-bdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c.tar.xz
bootstrap-bdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c.zip
Omit semicolons consistently in docs
Diffstat (limited to 'docs/assets')
-rw-r--r--docs/assets/js/customizer.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/assets/js/customizer.js b/docs/assets/js/customizer.js
index 405d87572..ecbdc8833 100644
--- a/docs/assets/js/customizer.js
+++ b/docs/assets/js/customizer.js
@@ -13,7 +13,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
' * Bootstrap v3.1.0 (http://getbootstrap.com)\n' +
' * Copyright 2011-2014 Twitter, Inc.\n' +
' * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n' +
- ' */\n\n';
+ ' */\n\n'
function showError(msg, err) {
$('<div id="bsCustomizerAlert" class="bs-customizer-alert">\
@@ -40,9 +40,9 @@ window.onload = function () { // wait for load in a dumb way because B-0
}
function getQueryParam(key) {
- key = key.replace(/[*+?^$.\[\]{}()|\\\/]/g, '\\$&'); // escape RegEx meta chars
- var match = location.search.match(new RegExp('[?&]' + key + '=([^&]+)(&|$)'));
- return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
+ key = key.replace(/[*+?^$.\[\]{}()|\\\/]/g, '\\$&') // escape RegEx meta chars
+ var match = location.search.match(new RegExp('[?&]' + key + '=([^&]+)(&|$)'))
+ return match && decodeURIComponent(match[1].replace(/\+/g, ' '))
}
function createGist(configJson) {