Skip to content
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

Allow other forms of node selection for init() #135

Merged
merged 1 commit into from
Mar 10, 2015

Commits on Mar 10, 2015

  1. Allow other forms of node selection for init()

    The existing behavior of init will always re-render the whole page, and requires that a chart be classed `mermaid`.
    
    This change allows the user to specify:
    - a DOM Node (as from getQuerySelector)
    - a DOM NodeList  (as from getQuerySelectorAll)
    - an array of nodes (as from jQuery.find)
    - a string (to be handed to getQuerySelectorAll)
    bollwyvl committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    d61aac3 View commit details
    Browse the repository at this point in the history