From fe2222e73355af18ad2b1869efb5fb0ab64f42f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Wed, 12 Feb 2014 20:54:43 +0100 Subject: [PATCH] Fix multistr errors in customizer.js --- docs/assets/js/customizer.js | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/docs/assets/js/customizer.js b/docs/assets/js/customizer.js index da584b6aca..ee85cc85e2 100644 --- a/docs/assets/js/customizer.js +++ b/docs/assets/js/customizer.js @@ -6,8 +6,6 @@ * details, see http://creativecommons.org/licenses/by/3.0/. */ -/* jshint multistr: true */ - window.onload = function () { // wait for load in a dumb way because B-0 var cw = '/*!\n' + ' * Bootstrap v3.1.0 (http://getbootstrap.com)\n' + @@ -16,21 +14,21 @@ window.onload = function () { // wait for load in a dumb way because B-0 ' */\n\n' function showError(msg, err) { - $('
\ -
\ - ×\ -

' + msg + '

' + - (err.extract ? '
' + err.extract.join('\n') + '
' : '') + '\ -
\ -
').appendTo('body').alert() + $('
' + + '
' + + '×' + + '

' + msg + '

' + + (err.extract ? '
' + err.extract.join('\n') + '
' : '') + + '
' + + '
').appendTo('body').alert() throw err } function showCallout(msg, showUpTop) { - var callout = $('
\ -

Attention!

\ -

' + msg + '

\ -
') + var callout = $('
' + + '

Attention!

' + + '

' + msg + '

' + + '
') if (showUpTop) { callout.appendTo('.bs-docs-container') @@ -333,15 +331,15 @@ window.onload = function () { // wait for load in a dumb way because B-0 // browser support alerts if (!window.URL && navigator.userAgent.toLowerCase().indexOf('safari') != -1) { - showCallout('Looks like you\'re using safari, which sadly doesn\'t have the best support\ - for HTML5 blobs. Because of this your file will be downloaded with the name "untitled".\ - However, if you check your downloads folder, just rename this "untitled" file\ - to "bootstrap.zip" and you should be good to go!') + showCallout('Looks like you\'re using safari, which sadly doesn\'t have the best support' + + 'for HTML5 blobs. Because of this your file will be downloaded with the name "untitled".' + + 'However, if you check your downloads folder, just rename this "untitled" file' + + 'to "bootstrap.zip" and you should be good to go!') } else if (!window.URL && !window.webkitURL) { $('.bs-docs-section, .bs-docs-sidebar').css('display', 'none') - showCallout('Looks like your current browser doesn\'t support the Bootstrap Customizer. Please take a second\ - to upgrade to a more modern browser.', true) + showCallout('Looks like your current browser doesn\'t support the Bootstrap Customizer. Please take a second' + + 'to upgrade to a more modern browser.', true) } parseUrl()