From 58eb8b2ae39baeb37514e5bf5ffcaf2a7c221202 Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Sun, 6 Jul 2014 11:56:12 +0200 Subject: [PATCH] Move to leading pluses --- js/tests/unit/affix.js | 14 +- js/tests/unit/alert.js | 16 +- js/tests/unit/button.js | 22 +-- js/tests/unit/carousel.js | 396 ++++++++++++++++++------------------- js/tests/unit/collapse.js | 20 +- js/tests/unit/dropdown.js | 186 ++++++++--------- js/tests/unit/scrollspy.js | 96 ++++----- js/tests/unit/tab.js | 32 +-- js/tests/unit/tooltip.js | 60 +++--- 9 files changed, 421 insertions(+), 421 deletions(-) diff --git a/js/tests/unit/affix.js b/js/tests/unit/affix.js index 67a49bf6ab..ef6ef74b91 100644 --- a/js/tests/unit/affix.js +++ b/js/tests/unit/affix.js @@ -38,13 +38,13 @@ $(function () { test('should trigger affixed event after affix', function () { stop() - var templateHTML = '
' + - '' + - '
' + - '
' + var templateHTML = '
' + + '
    ' + + '
  • Please affix
  • ' + + '
  • And unaffix
  • ' + + '
' + + '
' + + '
' $(templateHTML).appendTo(document.body) $('#affixTarget').bootstrapAffix({ diff --git a/js/tests/unit/alert.js b/js/tests/unit/alert.js index 9e5f9a12e4..52505c828d 100644 --- a/js/tests/unit/alert.js +++ b/js/tests/unit/alert.js @@ -30,10 +30,10 @@ $(function () { }) test('should fade element out on clicking .close', function () { - var alertHTML = '
' + - '×' + - '

Holy guacamole! Best check yo self, you\'re not looking too good.

' + - '
' + var alertHTML = '
' + + '×' + + '

Holy guacamole! Best check yo self, you\'re not looking too good.

' + + '
' var $alert = $(alertHTML).bootstrapAlert() $alert.find('.close').click() @@ -42,10 +42,10 @@ $(function () { }) test('should remove element when clicking .close', function () { - var alertHTML = '
' + - '×' + - '

Holy guacamole! Best check yo self, you\'re not looking too good.

' + - '
' + var alertHTML = '
' + + '×' + + '

Holy guacamole! Best check yo self, you\'re not looking too good.

' + + '
' var $alert = $(alertHTML).appendTo('#qunit-fixture').bootstrapAlert() notEqual($('#qunit-fixture').find('.alert-message').length, 0, 'element added to dom') diff --git a/js/tests/unit/button.js b/js/tests/unit/button.js index 04457010e5..bd431d5467 100644 --- a/js/tests/unit/button.js +++ b/js/tests/unit/button.js @@ -115,17 +115,17 @@ $(function () { }) test('should check for closest matching toggle', function () { - var groupHTML = '
' + - '' + - '' + - '' + - '
' + var groupHTML = '
' + + '' + + '' + + '' + + '
' var $group = $(groupHTML).appendTo('#qunit-fixture') var $btn1 = $group.children().eq(0) diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index 1f2fce30b3..51872c57b4 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -44,26 +44,26 @@ $(function () { }) test('should reset when slide is prevented', function () { - var carouselHTML = '