Skip to content
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

add support for ol in tab plugin #20467

Merged
merged 1 commit into from
Oct 25, 2016
Merged

add support for ol in tab plugin #20467

merged 1 commit into from
Oct 25, 2016

Conversation

maxbeatty
Copy link
Contributor

fixes #17754 by applying #17933 to v4

@@ -76,6 +76,22 @@ $(function () {
assert.strictEqual($('#qunit-fixture').find('.active').attr('id'), 'home')
})

QUnit.test('should activate element by tab id in ordered list', function (assert) {
assert.expect(2)
var pillsHTML = '<ol class="pills">'

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

@mdo
Copy link
Member

mdo commented Oct 10, 2016

Anyone have feedback on the Hound errors here? Would love to unblock this PR and get it merged.

@Johann-S
Copy link
Member

It seem's Hound prefer ES6 JavaScript and it's happened in others PR, I think we should allow ES5 in our JS Units in Hound

@bardiharborow
Copy link
Member

@mdo, it's all green. Hound is just mad again. It's the issue we discussed today about the tests being es5.

@maxbeatty
Copy link
Contributor Author

I tried to fix similar hound violations in #20174 and found that phantomjs needs to be updated before the unit tests can follow the styleguide

@mdo mdo added this to the v4.0.0-alpha.5 milestone Oct 10, 2016
@bardiharborow
Copy link
Member

@maxbetty, see, the tests need to be es5 because they need to run on non-es6 browsers, so we can either transpile them (more tooling and complexity) or leave them as es5. The linter just needs to be fixed, something that I'm working on. This PR is good to go.

@mdo mdo modified the milestones: v4.0.0-alpha.6, v4.0.0-alpha.5 Oct 19, 2016
@mdo mdo merged commit 73154d0 into twbs:v4-dev Oct 25, 2016
@mdo mdo mentioned this pull request Oct 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants