aboutsummaryrefslogtreecommitdiff
path: root/js/app.js
diff options
context:
space:
mode:
authorGokulakrishna <gokulakrishna@rocketmail.com>2018-05-28 15:13:33 +0530
committerGitHub <noreply@github.com>2018-05-28 15:13:33 +0530
commit1e351b9a7c5d7aa4c1dd65ba3f3ef3b45ac5689a (patch)
tree416bf1e9f0420879b4be7d4c031a8d6a26304839 /js/app.js
parentd9d3600be3cf3aff551e5a8e4acb38239a0507be (diff)
For ExcludeMatch, switched regex.exec to regex.test
As per Mozilla documentation, regex test() is faster than exec(). For ExcludeMatch, we just need to see true or false, that can be done faster with test() for large exclude patterns.
Diffstat (limited to 'js/app.js')
0 files changed, 0 insertions, 0 deletions