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

Node.js version: implement reporting of locations of problematic elements #172

Merged
merged 2 commits into from Nov 7, 2014

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented Nov 7, 2014

Fixes #29. (or rather, finishes fixing it)

CC: @hnrch02 @XhmikosR @zacechola for review and/or testing

@cvrebert cvrebert added this to the v0.8.0 milestone Nov 7, 2014
@hnrch02
Copy link
Collaborator

hnrch02 commented Nov 7, 2014

+:100:

@hnrch02
Copy link
Collaborator

hnrch02 commented Nov 7, 2014

The binary-search package isn't listed in package.json.

@cvrebert
Copy link
Collaborator Author

cvrebert commented Nov 7, 2014

Yup, have fixed that as part of getting Travis green.

@@ -753,14 +755,29 @@ var semver = require('semver');
}
});

exports._lint = function ($, reporter, disabledIdList) {
exports._lint = function ($, reporter, disabledIdList, html) {
var locationIndex = IN_NODE_JS ? new LocationIndex(html) : null;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Am I missing where IN_NODE_JS is defined?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

On line 34.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I see. It doesn't work for me in the CLI and I thought it was this. Never mind, it works great. I just need to properly wake up.

@hnrch02
Copy link
Collaborator

hnrch02 commented Nov 7, 2014

Works great :shipit:

@XhmikosR
Copy link
Member

XhmikosR commented Nov 7, 2014

Seems to work fine, great job!

cvrebert added a commit that referenced this pull request Nov 7, 2014
Node.js version: implement reporting of locations of problematic elements
@cvrebert cvrebert merged commit eb50814 into master Nov 7, 2014
@cvrebert cvrebert deleted the fix-29 branch November 7, 2014 08:31
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.

Track+report where the problems in the document are located
3 participants