forked from jeresig/env-js
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added equivalent frame modification for elementPopped as we had for a…
…ppendChild, integrated readme.refactor into main readme (including correction from nickg), have a bunch of patches to apply from nickg and FroMage in the next hour or so depending on how late I can stay up
- Loading branch information
thatcher
committed
Mar 17, 2010
1 parent
3398872
commit c9fdb70
Showing
7 changed files
with
156 additions
and
107 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 was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* | ||
* @param {Object} event | ||
*/ | ||
__extend__(Envjs.defaultEventBehaviors,{ | ||
|
||
'submit': function(event){ | ||
var target = event.target; | ||
while(target.nodeName != 'FORM'){ | ||
target = target.parentNode; | ||
} | ||
if(target.nodeName == 'FORM'){ | ||
target.submit | ||
} | ||
}, | ||
'click': function(event){ | ||
console.log('handling event target default behavior for click'); | ||
} | ||
|
||
}); |