forked from lift/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request lift#1665 from lift/extract-o-matic
Extract-o-matic: Extract event handlers to page JS The main functionality here moves event handler attachment from inline attributes to the page JavaScript that Lift 3 now supports. The reason for this is so that, out of the box, Lift will be compatible with very restrictive Content Security Policy settings when using built-in Lift features. To do this, we add a lift.onEvent function that has both jQuery and vanilla implementations. There are also a couple of fixes to existing JS functionality here.
- Loading branch information
Showing
2 changed files
with
189 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters