jQuery AOP
jQuery AOP is a very small plugin that adds features of aspect-oriented programming (AOP) to jQuery. It allows to add advices (Before, After, Around and Introduction) to any global or instance object.
Features
- Allows to add Before, After,Around and Introduction advices.
- Allows to define point-cuts using regex to match multiple methods.
- Works with global function and object methods.
- Advices can be removed after being applied.
- Just 539 bytes! (Minified and Gzipped)
评论