Skip to content

Commit

Permalink
clean up detector
Browse files Browse the repository at this point in the history
Move all the big regexes out of the way of the core logic.
  • Loading branch information
Thomas Grainger committed May 15, 2017
1 parent fa23f7b commit 6ba4631
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions src/js/helpers/detector.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6ba4631

Please sign in to comment.