Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

OPT: check element fisrt #2429

Merged
merged 2 commits into from
Sep 28, 2018
Merged

OPT: check element fisrt #2429

merged 2 commits into from
Sep 28, 2018

Commits on Sep 28, 2018

  1. OPT: check element fisrt

    run ` if (!element)` at first to avoid rest code running.
    
    If` if (!element)` equals true, then stop executing the rest other wise we run `element.forEach(item => walkTree(item, context, visitor, newContext));`  all the time at first
    HOUCe authored Sep 28, 2018
    Configuration menu
    Copy the full SHA
    9eeae57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e854a0b View commit details
    Browse the repository at this point in the history