-
Notifications
You must be signed in to change notification settings - Fork 2
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
Core, CSDL, and JSON Format: starter documents and tool tweaks #34
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's feedback on the document-related files.
Havent looked yet at the code in lib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
lib/number.js
Outdated
} | ||
|
||
// If all parts are equal, compare the lengths of the section numbers | ||
return partsA.length - partsB.length; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can there ever be a result different from 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assume files 3 foo.md
and 3.2 bar.md
, in this case the lengths of partA = ["3"]
and partB = ["3", "2"]
differ.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I add a unit test for function compareSectionNumbers
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LVGTM
Fixes #29
Fixes #33
Fixes #36
Fixes #38
Tool issues:
odata-json-format.html
is generated emptyodata-data-aggregation-ext.md
andodata-data-aggregation-ext.html
are generated emptyDocuments: