Skip to content

add support for ol in tab plugin - #20467

Merged
mdo merged 1 commit into
twbs:v4-devfrom
maxbeatty:v4-dev-17754
Oct 25, 2016
Merged

mdo merged 1 commit into
twbs:v4-devfrom
maxbeatty:v4-dev-17754

Conversation

@maxbeatty

Copy link
Copy Markdown
Contributor

fixes #17754 by applying #17933 to v4

Comment thread js/tests/unit/tab.js

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

Copy link
Copy Markdown

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

@cvrebert cvrebert added js JavaScript or TypeScript sources and plugins v4 v4, the frozen docs on gh-pages labels Aug 5, 2016
@mdo

mdo commented Oct 10, 2016

Copy link
Copy Markdown
Member

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

@Johann-S

Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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
Copy Markdown
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
Copy Markdown
Contributor

@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

js JavaScript or TypeScript sources and plugins v4 v4, the frozen docs on gh-pages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants