Rename and add hooks
eldoy opened this issue · comments
New hooks
Current hooks
- init
- Before load
- load
- After load
- file
- Before file onload
- before
- Before page or action
- after
- After page or action
- error
- After exception or error
Rename hooks to
- init > oninit
- load > onready
- file > onload
- require > onrequire (NEW)
- before > onrequest
- after > onresponse
- error > onerror
Keep the old ones to avoid breakage.
BONUS: ontransform > Receives a node from the html6 transformation