From 229e88892913d5c8b712510c28b78bfa114596e5 Mon Sep 17 00:00:00 2001 From: Mark Tareshawty Date: Wed, 15 Apr 2015 20:19:27 -0400 Subject: Update ZeroClipboard and remove Copy buttons when Flash is unavailable Fixes #16269. Closes #16301 by merging a rebased version of it. --- docs/assets/js/src/application.js | 43 +++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 22 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 161f3d002..7d9b226bc 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -127,7 +127,7 @@ // Config ZeroClipboard ZeroClipboard.config({ - moviePath: '/assets/flash/ZeroClipboard.swf', + swfPath: '/assets/flash/ZeroClipboard.swf', hoverClass: 'btn-clipboard-hover' }) @@ -136,39 +136,38 @@ var btnHtml = '
Copy
' $(this).before(btnHtml) }) + var zeroClipboard = new ZeroClipboard($('.btn-clipboard')) var htmlBridge = $('#global-zeroclipboard-html-bridge') // Handlers for ZeroClipboard - zeroClipboard.on('load', function () { + zeroClipboard.on('ready', function () { htmlBridge .data('placement', 'top') .attr('title', 'Copy to clipboard') .tooltip() - }) - // Copy to clipboard - zeroClipboard.on('dataRequested', function (client) { - var highlight = $(this).parent().nextAll('.highlight').first() - client.setText(highlight.text()) - }) + // Copy to clipboard + zeroClipboard.on('copy', function (event) { + var highlight = $(event.target).parent().nextAll('.highlight').first() + event.clipboardData.setData('text/plain', highlight.text()) + }) - // Notify copy success and reset tooltip title - zeroClipboard.on('complete', function () { - htmlBridge - .attr('title', 'Copied!') - .tooltip('fixTitle') - .tooltip('show') - .attr('title', 'Copy to clipboard') - .tooltip('fixTitle') + // Notify copy success and reset tooltip title + zeroClipboard.on('aftercopy', function () { + htmlBridge + .attr('title', 'Copied!') + .tooltip('fixTitle') + .tooltip('show') + .attr('title', 'Copy to clipboard') + .tooltip('fixTitle') + }) }) - // Notify copy failure - zeroClipboard.on('noflash wrongflash', function () { - htmlBridge - .attr('title', 'Flash required') - .tooltip('fixTitle') - .tooltip('show') + // Hide copy button on error + zeroClipboard.on('error', function () { + $('.zero-clipboard').remove() + ZeroClipboard.destroy() }) }) -- cgit v1.2.3 From dab6a4f0e3af750f5b1c7b88db1e7d14a15eb8b0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 27 Apr 2015 14:16:27 -0700 Subject: scope anchorjs to immediate children, fixes #16129 --- docs/assets/js/src/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 7d9b226bc..3a3632415 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -176,5 +176,5 @@ ;(function () { 'use strict'; - addAnchors('.bs-docs-container h1, .bs-docs-container h2, .bs-docs-container h3, .bs-docs-container h4, .bs-docs-container h5'); + addAnchors('.bs-docs-container > h1, .bs-docs-container > h2, .bs-docs-container > h3, .bs-docs-container > h4, .bs-docs-container > h5'); })(); -- cgit v1.2.3 From 3e7ca3bbc8eaa60013d4ab9f2edd42f6dcd8dd4b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 26 Apr 2015 13:53:45 +0300 Subject: Minor lint tweaks. --- docs/assets/js/src/customizer.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js index d38a71724..8eac4c200 100644 --- a/docs/assets/js/src/customizer.js +++ b/docs/assets/js/src/customizer.js @@ -17,7 +17,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 ' * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n' + ' */\n\n' - var supportsFile = (window.File && window.FileReader && window.FileList && window.Blob) + var supportsFile = window.File && window.FileReader && window.FileList && window.Blob var importDropTarget = $('#import-drop-target') function showError(msg, err) { @@ -112,7 +112,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 js: $('#plugin-section input:checked').map(function () { return this.value }).toArray() } - if ($.isEmptyObject(data.vars) && !data.css.length && !data.js.length) return + if ($.isEmptyObject(data.vars) && !data.css.length && !data.js.length) return null return data } @@ -241,11 +241,11 @@ window.onload = function () { // wait for load in a dumb way because B-0 // Core stylesheets like 'normalize.less' are not included in the form // since disabling them would wreck everything, and so their 'fileInclude' // will be 'undefined'. - if (fileInclude || (fileInclude == null)) lessSource += __less[filename] + if (fileInclude || fileInclude == null) lessSource += __less[filename] // Custom variables are added after Bootstrap variables so the custom // ones take precedence. - if (('variables.less' === filename) && vars) lessSource += generateCustomLess(vars) + if (filename === 'variables.less' && vars) lessSource += generateCustomLess(vars) }) lessSource = lessSource.replace(/@import[^\n]*/gi, '') // strip any imports @@ -267,8 +267,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 try { intoResult[baseFilename + '.css'] = cw + tree.toCSS() intoResult[baseFilename + '.min.css'] = cw + tree.toCSS({ compress: true }) - } - catch (compileErr) { + } catch (compileErr) { return promise.reject(compileErr) } promise.resolve() @@ -366,7 +365,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 e.stopPropagation() e.preventDefault() - var file = (e.originalEvent.hasOwnProperty('dataTransfer')) ? e.originalEvent.dataTransfer.files[0] : e.originalEvent.target.files[0] + var file = e.originalEvent.hasOwnProperty('dataTransfer') ? e.originalEvent.dataTransfer.files[0] : e.originalEvent.target.files[0] var reader = new FileReader() @@ -474,7 +473,9 @@ window.onload = function () { // wait for load in a dumb way because B-0 ).done(function (css, js, fonts) { generateZip(css, js, fonts, configJson, function (blob) { $compileBtn.removeAttr('disabled') - setTimeout(function () { saveAs(blob, 'bootstrap.zip') }, 0) + setTimeout(function () { + saveAs(blob, 'bootstrap.zip') + }, 0) }) }) }) -- cgit v1.2.3 From 86400070b5a10d4c013f1f8b72d7d170888031fb Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 28 Apr 2015 11:11:49 +0300 Subject: Bump copyright year. [ci skip] --- docs/assets/js/src/application.js | 2 +- docs/assets/js/src/customizer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 3a3632415..8aff80afd 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -4,7 +4,7 @@ /*! * JavaScript for Bootstrap's docs (http://getbootstrap.com) - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * Licensed under the Creative Commons Attribution 3.0 Unported License. For * details, see http://creativecommons.org/licenses/by/3.0/. */ diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js index 8eac4c200..a6d46b5a3 100644 --- a/docs/assets/js/src/customizer.js +++ b/docs/assets/js/src/customizer.js @@ -1,6 +1,6 @@ /*! * Bootstrap Customizer (http://getbootstrap.com/customize/) - * Copyright 2011-2014 Twitter, Inc. + * Copyright 2011-2015 Twitter, Inc. * * Licensed under the Creative Commons Attribution 3.0 Unported License. For * details, see http://creativecommons.org/licenses/by/3.0/. -- cgit v1.2.3 From 16a44c208d5ea2709d832535f695554e4cdd8bf4 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 29 Apr 2015 08:53:11 +0300 Subject: Fix dab6a4f0e3af750f5b1c7b88db1e7d14a15eb8b0. --- docs/assets/js/src/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 8aff80afd..801d6390d 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -176,5 +176,5 @@ ;(function () { 'use strict'; - addAnchors('.bs-docs-container > h1, .bs-docs-container > h2, .bs-docs-container > h3, .bs-docs-container > h4, .bs-docs-container > h5'); + addAnchors('.bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5'); })(); -- cgit v1.2.3 From 438cae9d90449403c470686852b95934067f2c4d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 28 Apr 2015 14:27:09 +0300 Subject: Revert "Update ZeroClipboard and remove Copy buttons when Flash is unavailable" This reverts commit 229e88892913d5c8b712510c28b78bfa114596e5. ZeroClipboard v2.x drops IE < 9 support. --- docs/assets/js/src/application.js | 43 ++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 21 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 801d6390d..465e1386b 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -127,7 +127,7 @@ // Config ZeroClipboard ZeroClipboard.config({ - swfPath: '/assets/flash/ZeroClipboard.swf', + moviePath: '/assets/flash/ZeroClipboard.swf', hoverClass: 'btn-clipboard-hover' }) @@ -136,38 +136,39 @@ var btnHtml = '
Copy
' $(this).before(btnHtml) }) - var zeroClipboard = new ZeroClipboard($('.btn-clipboard')) var htmlBridge = $('#global-zeroclipboard-html-bridge') // Handlers for ZeroClipboard - zeroClipboard.on('ready', function () { + zeroClipboard.on('load', function () { htmlBridge .data('placement', 'top') .attr('title', 'Copy to clipboard') .tooltip() + }) - // Copy to clipboard - zeroClipboard.on('copy', function (event) { - var highlight = $(event.target).parent().nextAll('.highlight').first() - event.clipboardData.setData('text/plain', highlight.text()) - }) + // Copy to clipboard + zeroClipboard.on('dataRequested', function (client) { + var highlight = $(this).parent().nextAll('.highlight').first() + client.setText(highlight.text()) + }) - // Notify copy success and reset tooltip title - zeroClipboard.on('aftercopy', function () { - htmlBridge - .attr('title', 'Copied!') - .tooltip('fixTitle') - .tooltip('show') - .attr('title', 'Copy to clipboard') - .tooltip('fixTitle') - }) + // Notify copy success and reset tooltip title + zeroClipboard.on('complete', function () { + htmlBridge + .attr('title', 'Copied!') + .tooltip('fixTitle') + .tooltip('show') + .attr('title', 'Copy to clipboard') + .tooltip('fixTitle') }) - // Hide copy button on error - zeroClipboard.on('error', function () { - $('.zero-clipboard').remove() - ZeroClipboard.destroy() + // Notify copy failure + zeroClipboard.on('noflash wrongflash', function () { + htmlBridge + .attr('title', 'Flash required') + .tooltip('fixTitle') + .tooltip('show') }) }) -- cgit v1.2.3 From 07e76a571de1df4d92376d72a07000cd6d440789 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 28 Apr 2015 14:57:27 +0300 Subject: Redo changes needed to hide Copy button. --- docs/assets/js/src/application.js | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 465e1386b..56528367c 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -145,30 +145,30 @@ .data('placement', 'top') .attr('title', 'Copy to clipboard') .tooltip() - }) - // Copy to clipboard - zeroClipboard.on('dataRequested', function (client) { - var highlight = $(this).parent().nextAll('.highlight').first() - client.setText(highlight.text()) - }) - // Notify copy success and reset tooltip title - zeroClipboard.on('complete', function () { - htmlBridge - .attr('title', 'Copied!') - .tooltip('fixTitle') - .tooltip('show') - .attr('title', 'Copy to clipboard') - .tooltip('fixTitle') + // Copy to clipboard + zeroClipboard.on('dataRequested', function (client) { + var highlight = $(this).parent().nextAll('.highlight').first() + client.setText(highlight.text()) + }) + + // Notify copy success and reset tooltip title + zeroClipboard.on('complete', function () { + htmlBridge + .attr('title', 'Copied!') + .tooltip('fixTitle') + .tooltip('show') + .attr('title', 'Copy to clipboard') + .tooltip('fixTitle') + }) }) - // Notify copy failure + // Hide copy button when no Flash is found + // or wrong Flash version is present zeroClipboard.on('noflash wrongflash', function () { - htmlBridge - .attr('title', 'Flash required') - .tooltip('fixTitle') - .tooltip('show') + $('.zero-clipboard').remove() + ZeroClipboard.destroy() }) }) -- cgit v1.2.3 From 49c45563546af97eaab0c6f083d68fbc3b4a0ce6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 29 Apr 2015 12:11:58 +0300 Subject: Comply to the new JSCS rules. --- docs/assets/js/src/application.js | 41 ++++++++++++++++++++------------------- docs/assets/js/src/customizer.js | 41 ++++++++++++++++++++------------------- 2 files changed, 42 insertions(+), 40 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 56528367c..35f39f6f0 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -58,12 +58,12 @@ // theme toggler ;(function () { - var stylesheetLink = $('#bs-theme-stylesheet') - var themeBtn = $('.bs-docs-theme-toggle') + var $stylesheetLink = $('#bs-theme-stylesheet') + var $themeBtn = $('.bs-docs-theme-toggle') var activateTheme = function () { - stylesheetLink.attr('href', stylesheetLink.attr('data-href')) - themeBtn.text('Disable theme preview') + $stylesheetLink.attr('href', $stylesheetLink.attr('data-href')) + $themeBtn.text('Disable theme preview') localStorage.setItem('previewTheme', true) } @@ -71,13 +71,13 @@ activateTheme() } - themeBtn.click(function () { - var href = stylesheetLink.attr('href') + $themeBtn.click(function () { + var href = $stylesheetLink.attr('href') if (!href || href.indexOf('data') === 0) { activateTheme() } else { - stylesheetLink.attr('href', '') - themeBtn.text('Preview theme') + $stylesheetLink.attr('href', '') + $themeBtn.text('Preview theme') localStorage.removeItem('previewTheme') } }) @@ -102,22 +102,22 @@ // Button state demo $('#loading-example-btn').on('click', function () { - var btn = $(this) - btn.button('loading') + var $btn = $(this) + $btn.button('loading') setTimeout(function () { - btn.button('reset') + $btn.button('reset') }, 3000) }) // Modal relatedTarget demo $('#exampleModal').on('show.bs.modal', function (event) { - var button = $(event.relatedTarget) // Button that triggered the modal - var recipient = button.data('whatever') // Extract info from data-* attributes + var $button = $(event.relatedTarget) // Button that triggered the modal + var recipient = $button.data('whatever') // Extract info from data-* attributes // If necessary, you could initiate an AJAX request here (and then do the updating in a callback). // Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead. - var modal = $(this) - modal.find('.modal-title').text('New message to ' + recipient) - modal.find('.modal-body input').val(recipient) + var $modal = $(this) + $modal.find('.modal-title').text('New message to ' + recipient) + $modal.find('.modal-body input').val(recipient) }) // Activate animated progress bar @@ -137,11 +137,11 @@ $(this).before(btnHtml) }) var zeroClipboard = new ZeroClipboard($('.btn-clipboard')) - var htmlBridge = $('#global-zeroclipboard-html-bridge') + var $htmlBridge = $('#global-zeroclipboard-html-bridge') // Handlers for ZeroClipboard zeroClipboard.on('load', function () { - htmlBridge + $htmlBridge .data('placement', 'top') .attr('title', 'Copy to clipboard') .tooltip() @@ -155,7 +155,7 @@ // Notify copy success and reset tooltip title zeroClipboard.on('complete', function () { - htmlBridge + $htmlBridge .attr('title', 'Copied!') .tooltip('fixTitle') .tooltip('show') @@ -177,5 +177,6 @@ ;(function () { 'use strict'; - addAnchors('.bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5'); + + addAnchors('.bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5') })(); diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js index a6d46b5a3..9b440daa2 100644 --- a/docs/assets/js/src/customizer.js +++ b/docs/assets/js/src/customizer.js @@ -11,6 +11,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 'use strict'; + var cw = '/*!\n' + ' * Bootstrap v3.3.4 (http://getbootstrap.com)\n' + ' * Copyright 2011-' + new Date().getFullYear() + ' Twitter, Inc.\n' + @@ -18,7 +19,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 ' */\n\n' var supportsFile = window.File && window.FileReader && window.FileList && window.Blob - var importDropTarget = $('#import-drop-target') + var $importDropTarget = $('#import-drop-target') function showError(msg, err) { $('
' + @@ -39,15 +40,15 @@ window.onload = function () { // wait for load in a dumb way because B-0 } function showCallout(msg, showUpTop) { - var callout = $('
' + + var $callout = $('
' + '

Attention!

' + '

' + msg + '

' + '
') if (showUpTop) { - callout.appendTo('.bs-docs-container') + $callout.appendTo('.bs-docs-container') } else { - callout.insertAfter('.bs-customize-download') + $callout.insertAfter('.bs-customize-download') } } @@ -200,8 +201,8 @@ window.onload = function () { // wait for load in a dumb way because B-0 } function generateFonts() { - var glyphicons = $('#less-section [value="glyphicons.less"]:checked') - if (glyphicons.length) { + var $glyphicons = $('#less-section [value="glyphicons.less"]:checked') + if ($glyphicons.length) { return __fonts } } @@ -358,7 +359,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 } function removeImportAlerts() { - importDropTarget.nextAll('.alert').remove() + $importDropTarget.nextAll('.alert').remove() } function handleConfigFileSelect(e) { @@ -380,9 +381,9 @@ window.onload = function () { // wait for load in a dumb way because B-0 } updateCustomizerFromJson(json) - showAlert('success', 'Woohoo! Your configuration was successfully uploaded. Tweak your settings, then hit Download.', importDropTarget) + showAlert('success', 'Woohoo! Your configuration was successfully uploaded. Tweak your settings, then hit Download.', $importDropTarget) } catch (err) { - return showAlert('danger', 'Shucks. We can only read valid .json files. Please try again.', importDropTarget) + return showAlert('danger', 'Shucks. We can only read valid .json files. Please try again.', $importDropTarget) } } @@ -398,7 +399,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 } if (supportsFile) { - importDropTarget + $importDropTarget .on('dragover', handleConfigDragOver) .on('drop', handleConfigFileSelect) } @@ -406,23 +407,23 @@ window.onload = function () { // wait for load in a dumb way because B-0 $('#import-file-select').on('change', handleConfigFileSelect) $('#import-manual-trigger').on('click', removeImportAlerts) - var inputsComponent = $('#less-section input') - var inputsPlugin = $('#plugin-section input') - var inputsVariables = $('#less-variables-section input') + var $inputsComponent = $('#less-section input') + var $inputsPlugin = $('#plugin-section input') + var $inputsVariables = $('#less-variables-section input') $('#less-section .toggle').on('click', function (e) { e.preventDefault() - inputsComponent.prop('checked', !inputsComponent.is(':checked')) + $inputsComponent.prop('checked', !$inputsComponent.is(':checked')) }) $('#plugin-section .toggle').on('click', function (e) { e.preventDefault() - inputsPlugin.prop('checked', !inputsPlugin.is(':checked')) + $inputsPlugin.prop('checked', !$inputsPlugin.is(':checked')) }) $('#less-variables-section .toggle').on('click', function (e) { e.preventDefault() - inputsVariables.val('') + $inputsVariables.val('') }) $('[data-dependencies]').on('click', function () { @@ -431,8 +432,8 @@ window.onload = function () { // wait for load in a dumb way because B-0 if (!dependencies) return dependencies = dependencies.split(',') for (var i = 0; i < dependencies.length; i++) { - var dependency = $('[value="' + dependencies[i] + '"]') - dependency && dependency.prop('checked', true) + var $dependency = $('[value="' + dependencies[i] + '"]') + $dependency && $dependency.prop('checked', true) } }) @@ -442,8 +443,8 @@ window.onload = function () { // wait for load in a dumb way because B-0 if (!dependents) return dependents = dependents.split(',') for (var i = 0; i < dependents.length; i++) { - var dependent = $('[value="' + dependents[i] + '"]') - dependent && dependent.prop('checked', false) + var $dependent = $('[value="' + dependents[i] + '"]') + $dependent && $dependent.prop('checked', false) } }) -- cgit v1.2.3 From dec2faec3d1ebdf0f72d5814e570ebc453346cde Mon Sep 17 00:00:00 2001 From: Bryan Braun Date: Fri, 15 May 2015 00:37:07 -0400 Subject: Update Anchor.js and port over the existing styles. Anchor.js 1.0.0 drops the need to use anchor.css, so we remove it from the codebase and move any leftover styles over to docs.css. Closes #16488 by merging it. --- docs/assets/js/src/application.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 35f39f6f0..51f42cd05 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -9,7 +9,7 @@ * details, see http://creativecommons.org/licenses/by/3.0/. */ -/* global ZeroClipboard, addAnchors */ +/* global ZeroClipboard, anchors */ !function ($) { 'use strict'; @@ -178,5 +178,6 @@ ;(function () { 'use strict'; - addAnchors('.bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5') + anchors.options.placement = 'left'; + anchors.add('.bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5') })(); -- cgit v1.2.3 From 315907c97cf9e039c83cf71e3c0a049ea0e24798 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 17 May 2015 12:43:04 +0300 Subject: Use `https` when possible. --- docs/assets/js/src/application.js | 2 +- docs/assets/js/src/customizer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 51f42cd05..0aa5ebc33 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -6,7 +6,7 @@ * JavaScript for Bootstrap's docs (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under the Creative Commons Attribution 3.0 Unported License. For - * details, see http://creativecommons.org/licenses/by/3.0/. + * details, see https://creativecommons.org/licenses/by/3.0/. */ /* global ZeroClipboard, anchors */ diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js index 9b440daa2..7e5ae7b79 100644 --- a/docs/assets/js/src/customizer.js +++ b/docs/assets/js/src/customizer.js @@ -3,7 +3,7 @@ * Copyright 2011-2015 Twitter, Inc. * * Licensed under the Creative Commons Attribution 3.0 Unported License. For - * details, see http://creativecommons.org/licenses/by/3.0/. + * details, see https://creativecommons.org/licenses/by/3.0/. */ /* jshint es3:false */ -- cgit v1.2.3 From 57a9a5c803e53158afb4387009c2b5babb8e1a3f Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 16 Jun 2015 09:37:42 -0700 Subject: bump version --- docs/assets/js/src/customizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/assets/js/src') diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js index 7e5ae7b79..191e33ce4 100644 --- a/docs/assets/js/src/customizer.js +++ b/docs/assets/js/src/customizer.js @@ -13,7 +13,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 'use strict'; var cw = '/*!\n' + - ' * Bootstrap v3.3.4 (http://getbootstrap.com)\n' + + ' * Bootstrap v3.3.5 (http://getbootstrap.com)\n' + ' * Copyright 2011-' + new Date().getFullYear() + ' Twitter, Inc.\n' + ' * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n' + ' */\n\n' -- cgit v1.2.3