about summary refs log tree commit diff
path: root/config/initializers/assets.rb
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2018-02-25 03:10:57 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-02-24 19:10:57 +0100
commit7cb49eaa3aad03b60a1e1620d2f700d6ed2b3ea0 (patch)
tree21101f9ce659163fac0fa07c0b1ea5c847e7a075 /config/initializers/assets.rb
parent4d8c0d995981d580fa774950fa93c17b0004246e (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 'config/initializers/assets.rb')
0 files changed, 0 insertions, 0 deletions