| OLD | NEW |
| 1 | 1 |
| 2 class MutationEvent extends Event native "*MutationEvent" { | 2 class MutationEventJS extends EventJS implements MutationEvent native "*Mutation
Event" { |
| 3 | 3 |
| 4 static final int ADDITION = 2; | 4 static final int ADDITION = 2; |
| 5 | 5 |
| 6 static final int MODIFICATION = 1; | 6 static final int MODIFICATION = 1; |
| 7 | 7 |
| 8 static final int REMOVAL = 3; | 8 static final int REMOVAL = 3; |
| 9 | 9 |
| 10 int get attrChange() native "return this.attrChange;"; | 10 int get attrChange() native "return this.attrChange;"; |
| 11 | 11 |
| 12 String get attrName() native "return this.attrName;"; | 12 String get attrName() native "return this.attrName;"; |
| 13 | 13 |
| 14 String get newValue() native "return this.newValue;"; | 14 String get newValue() native "return this.newValue;"; |
| 15 | 15 |
| 16 String get prevValue() native "return this.prevValue;"; | 16 String get prevValue() native "return this.prevValue;"; |
| 17 | 17 |
| 18 Node get relatedNode() native "return this.relatedNode;"; | 18 NodeJS get relatedNode() native "return this.relatedNode;"; |
| 19 | 19 |
| 20 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange) nat
ive; | 20 void initMutationEvent(String type, bool canBubble, bool cancelable, NodeJS re
latedNode, String prevValue, String newValue, String attrName, int attrChange) n
ative; |
| 21 } | 21 } |
| OLD | NEW |