Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

warn about outdated versions of Bootstrap #194

Merged
merged 1 commit into from
Dec 16, 2014
Merged

warn about outdated versions of Bootstrap #194

merged 1 commit into from
Dec 16, 2014

Conversation

cvrebert
Copy link
Collaborator

Fixes #163.
To: @hnrch02 for review

@cvrebert cvrebert force-pushed the fix-163 branch 3 times, most recently from 7d2d3bb to 30436d4 Compare November 23, 2014 10:47
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 30436d4 on fix-163 into ecfb75c on master.

@cvrebert cvrebert added this to the v0.9.0 milestone Dec 12, 2014
@cvrebert
Copy link
Collaborator Author

@hnrch02 Does this look good to you?

@cvrebert
Copy link
Collaborator Author

Need to renumber this to W013 so that it won't conflict with #189.

if (semver.lt(version, CURRENT_BOOTSTRAP_VERSION, true)) {
reporter(OUTDATED_BOOTSTRAP + version, elem);
}
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this cause trouble with plugins/addons/whatevers again?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If their files are named something like foobar-bootstrap.css or /foobar/bootstrap.js, then yes.
Should be able to deal with the foobar-bootstrap.css cases by tweaking the selectors. Let me fix that...

@hnrch02
Copy link
Collaborator

hnrch02 commented Dec 16, 2014

Otherwise LGTM. :shipit: once it's changed to W013.

@cvrebert
Copy link
Collaborator Author

Changed the ID and fixed the edge case. Will merge once the Travis build succeeds.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 34349e1 on fix-163 into 2b184d9 on master.

cvrebert added a commit that referenced this pull request Dec 16, 2014
warn about outdated versions of Bootstrap
@cvrebert cvrebert merged commit 4ca3c1b into master Dec 16, 2014
@cvrebert cvrebert deleted the fix-163 branch December 16, 2014 23:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warn about using an outdated minor/patch version of Bootstrap
3 participants