Javascript function hooks

后端 未结 7 995
孤街浪徒
孤街浪徒 2020-12-24 15:17

EDIT: OK, I believe the following solutions are valid:

  1. Use the jQuery AOP plugin. It basically wraps the old function together with the hook into a function

相关标签:
7条回答
  • 2020-12-24 16:07

    Take a look at jQuery's AOP plugin. In general, google "javascript aspect oriented programming".

    0 讨论(0)
提交回复
热议问题