Skip to content

Commit

Permalink
Breaking Changes!
Browse files Browse the repository at this point in the history
- The getData() API on DOM events is now getNodeData(sigil). This allows
  us to lazily build node data and provides a better distinction between
  event data and node metadata.
- Sigils and metadata are now stored on tag properties, not in the 'class'
  attribute.
- Nodes can now have more than one sigil.

Other stuff:

- Workflow and Mask are now available.
- Typehaead/Tokenizer rendering are more modular.
- Some bugfixes for sigils named 'watch', etc.
  • Loading branch information
epriestley committed Feb 1, 2011
1 parent dd24dce commit e488044
Show file tree
Hide file tree
Showing 21 changed files with 887 additions and 358 deletions.
4 changes: 2 additions & 2 deletions pkg/init.dev.js
Expand Up @@ -30,7 +30,6 @@
JX.__rawEventQueue = function(what) {
master_event_queue.push(what);


// Evade static analysis - JX.Stratcom
var Stratcom = JX['Stratcom'];
if (Stratcom && Stratcom.ready) {
Expand Down Expand Up @@ -62,7 +61,8 @@
var target = what.srcElement || what.target;
if (target &&
(what.type in {click: 1, submit: 1}) &&
(/ FI_CAPTURE /).test(' ' + target.className + ' ')) {
target.getAttribute &&
target.getAttribute('data-mustcapture') === '1') {
what.returnValue = false;
what.preventDefault && what.preventDefault();
document.body.id = 'event_capture';
Expand Down
2 changes: 1 addition & 1 deletion pkg/init.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e488044

Please sign in to comment.