Skip to content

Use presence of "data-linenum" attr as toggle to show line numbers #7

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

Merged
merged 2 commits into from
Jul 24, 2012

Conversation

ajpiano
Copy link
Member

@ajpiano ajpiano commented Jul 20, 2012

This PR resolves the issue raised in #6 over here, so that the data-linenum attr has to be presentto activate the display of the line numbers gutter, and its value will be used only if supplied. If the value is 'true', it will also trigger line numbers starting from 1.

ajpiano added 2 commits July 20, 2012 13:32
…tter, using its value as the start line if supplied.
@jzaefferer jzaefferer merged commit cac827a into jquery:master Jul 24, 2012
@jzaefferer
Copy link
Member

Thanks, just landed this and released 0.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants