mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-02 00:06:46 +02:00
Minor lint tweaks and rules cleanup
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/* eslint-env node */
|
||||
/* eslint no-process-env: 0 */
|
||||
|
||||
const path = require('path')
|
||||
const ip = require('ip')
|
||||
|
@@ -826,7 +826,6 @@ $(function () {
|
||||
'</div>'
|
||||
].join('')).appendTo('#qunit-fixture')
|
||||
|
||||
|
||||
$modal.on('shown.bs.modal', function () {
|
||||
assert.strictEqual($modal.scrollTop(), 0)
|
||||
done()
|
||||
|
@@ -208,7 +208,6 @@ $(function () {
|
||||
.bootstrapToast('show')
|
||||
})
|
||||
|
||||
|
||||
QUnit.test('should close toast when close element with data-dismiss attribute is set', function (assert) {
|
||||
assert.expect(2)
|
||||
var done = assert.async()
|
||||
|
@@ -63,7 +63,6 @@ $(function () {
|
||||
|
||||
Util.typeCheckConfig(namePlugin, config, defaultType)
|
||||
|
||||
// eslint-disable-next-line
|
||||
config.toggle = undefined
|
||||
|
||||
Util.typeCheckConfig(namePlugin, config, defaultType)
|
||||
|
Reference in New Issue
Block a user