Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Fenkart <hnrch02@gmail.com>2014-07-06 13:56:12 +0400
committerHeinrich Fenkart <hnrch02@gmail.com>2014-07-06 13:56:12 +0400
commit58eb8b2ae39baeb37514e5bf5ffcaf2a7c221202 (patch)
tree52eb86c31ffc4d9c8322c3a41e821d384a42085f /js/tests/unit/tab.js
parentdad56be96c5bbecf331c279e82db1dc6211616d2 (diff)
Move to leading pluses
Diffstat (limited to 'js/tests/unit/tab.js')
-rw-r--r--js/tests/unit/tab.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js
index 754e3af8c4..8e50614ecc 100644
--- a/js/tests/unit/tab.js
+++ b/js/tests/unit/tab.js
@@ -30,10 +30,10 @@ $(function () {
})
test('should activate element by tab id', function () {
- var tabsHTML = '<ul class="tabs">' +
- '<li><a href="#home">Home</a></li>' +
- '<li><a href="#profile">Profile</a></li>' +
- '</ul>'
+ var tabsHTML = '<ul class="tabs">'
+ + '<li><a href="#home">Home</a></li>'
+ + '<li><a href="#profile">Profile</a></li>'
+ + '</ul>'
$('<ul><li id="home"/><li id="profile"/></ul>').appendTo('#qunit-fixture')
@@ -45,10 +45,10 @@ $(function () {
})
test('should activate element by tab id', function () {
- var pillsHTML = '<ul class="pills">' +
- '<li><a href="#home">Home</a></li>' +
- '<li><a href="#profile">Profile</a></li>' +
- '</ul>'
+ var pillsHTML = '<ul class="pills">'
+ + '<li><a href="#home">Home</a></li>'
+ + '<li><a href="#profile">Profile</a></li>'
+ + '</ul>'
$('<ul><li id="home"/><li id="profile"/></ul>').appendTo('#qunit-fixture')
@@ -77,14 +77,14 @@ $(function () {
test('show and shown events should reference correct relatedTarget', function () {
stop()
- var dropHTML = '<ul class="drop">' +
- '<li class="dropdown"><a data-toggle="dropdown" href="#">1</a>' +
- '<ul class="dropdown-menu">' +
- '<li><a href="#1-1" data-toggle="tab">1-1</a></li>' +
- '<li><a href="#1-2" data-toggle="tab">1-2</a></li>' +
- '</ul>' +
- '</li>' +
- '</ul>'
+ var dropHTML = '<ul class="drop">'
+ + '<li class="dropdown"><a data-toggle="dropdown" href="#">1</a>'
+ + '<ul class="dropdown-menu">'
+ + '<li><a href="#1-1" data-toggle="tab">1-1</a></li>'
+ + '<li><a href="#1-2" data-toggle="tab">1-2</a></li>'
+ + '</ul>'
+ + '</li>'
+ + '</ul>'
$(dropHTML)
.find('ul > li:first a')