]> Lady’s Gitweb - Pisces/commit
Provide fake external constructor for Matcher
authorLady <redacted>
Thu, 8 Sep 2022 05:20:46 +0000 (22:20 -0700)
committerLady <redacted>
Fri, 12 May 2023 03:56:48 +0000 (20:56 -0700)
commitcbc7b43d863a143313425e0df475d6f4201ad690
tree60ef8eb77180ec9dfd81ef6f7003a6dc5ce15928
parentf0ab8cc83ab12f8d8b995358e3953e96be3d5918
Provide fake external constructor for Matcher

Classes which depend on identity for behaviours should not be exposed
because this inheritance can be modified at runtime. This commit
provides a fake Matcher constructor which simply calls the real one.

This has a side‐effect of reducing the amount of prototype modification
which this class setup entailed, at the cost of needing to manually
redefine all the properties from the internal Matcher constructor
prototype onto the external one.
string.js
This page took 0.019661 seconds and 4 git commands to generate.