diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2018-02-25 03:10:57 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-02-24 19:10:57 +0100 |
commit | 7cb49eaa3aad03b60a1e1620d2f700d6ed2b3ea0 (patch) | |
tree | 21101f9ce659163fac0fa07c0b1ea5c847e7a075 /spec/lib/activitypub/activity/undo_spec.rb | |
parent | 4d8c0d995981d580fa774950fa93c17b0004246e (diff) |
Do not use function name to track components (#6542)
UglifyJS2 is allowed to mangle function names, and function names can also be duplicate if they are from different scopes. Therefore function names are not reliable as identifiers. Functions as keys for Map object is a cheaper and more reliable alternative.
Diffstat (limited to 'spec/lib/activitypub/activity/undo_spec.rb')
0 files changed, 0 insertions, 0 deletions