-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert Collapse accordion from Panels to Cards #18400
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -235,12 +235,12 @@ $(function () { | |
assert.expect(3) | ||
var done = assert.async() | ||
|
||
var accordionHTML = '<div class="panel-group" id="accordion">' | ||
+ '<div class="panel"/>' | ||
+ '<div class="panel"/>' | ||
+ '<div class="panel"/>' | ||
var accordionHTML = '<div id="accordion">' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var |
||
+ '<div class="card"/>' | ||
+ '<div class="card"/>' | ||
+ '<div class="card"/>' | ||
+ '</div>' | ||
var $groups = $(accordionHTML).appendTo('#qunit-fixture').find('.panel') | ||
var $groups = $(accordionHTML).appendTo('#qunit-fixture').find('.card') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var |
||
|
||
var $target1 = $('<a role="button" data-toggle="collapse" href="#body1" data-parent="#accordion"/>').appendTo($groups.eq(0)) | ||
|
||
|
@@ -269,12 +269,12 @@ $(function () { | |
assert.expect(3) | ||
var done = assert.async() | ||
|
||
var accordionHTML = '<div class="panel-group accordion">' | ||
+ '<div class="panel"/>' | ||
+ '<div class="panel"/>' | ||
+ '<div class="panel"/>' | ||
var accordionHTML = '<div class="accordion">' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var |
||
+ '<div class="card"/>' | ||
+ '<div class="card"/>' | ||
+ '<div class="card"/>' | ||
+ '</div>' | ||
var $groups = $(accordionHTML).appendTo('#qunit-fixture').find('.panel') | ||
var $groups = $(accordionHTML).appendTo('#qunit-fixture').find('.card') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var |
||
|
||
var $target1 = $('<a role="button" data-toggle="collapse" href="#body1" data-parent=".accordion"/>').appendTo($groups.eq(0)) | ||
|
||
|
@@ -371,12 +371,12 @@ $(function () { | |
assert.expect(3) | ||
var done = assert.async() | ||
|
||
var accordionHTML = '<div class="panel-group" id="accordion">' | ||
+ '<div class="panel"/>' | ||
+ '<div class="panel"/>' | ||
+ '<div class="panel"/>' | ||
var accordionHTML = '<div id="accordion">' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var |
||
+ '<div class="card"/>' | ||
+ '<div class="card"/>' | ||
+ '<div class="card"/>' | ||
+ '</div>' | ||
var $groups = $(accordionHTML).appendTo('#qunit-fixture').find('.panel') | ||
var $groups = $(accordionHTML).appendTo('#qunit-fixture').find('.card') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var |
||
|
||
var $target1 = $('<a role="button" data-toggle="collapse" href="#body1" data-parent="#accordion"/>').appendTo($groups.eq(0)) | ||
|
||
|
@@ -406,11 +406,11 @@ $(function () { | |
var done = assert.async() | ||
|
||
var accordionHTML = '<div id="accordion">' | ||
+ '<div class="panel"/>' | ||
+ '<div class="panel"/>' | ||
+ '<div class="card"/>' | ||
+ '<div class="card"/>' | ||
+ '</div>' | ||
var showFired = false | ||
var $groups = $(accordionHTML).appendTo('#qunit-fixture').find('.panel') | ||
var $groups = $(accordionHTML).appendTo('#qunit-fixture').find('.card') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unexpected var, use let or const instead no-var |
||
|
||
var $target1 = $('<a role="button" data-toggle="collapse" href="#body1" data-parent="#accordion"/>').appendTo($groups.eq(0)) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected var, use let or const instead no-var