| Index: tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate b/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate
|
| index 51d1c425e9d9ac41367bc7ec1599ec00b134e168..d48febb6e90dc77f0406739775d65c0a13a3dd99 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/impl_MouseEvent.darttemplate
|
| @@ -14,8 +14,8 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| if (view == null) {
|
| view = window;
|
| }
|
| - var event = document.$dom_createEvent('MouseEvent');
|
| - event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail,
|
| + var event = document._createEvent('MouseEvent');
|
| + event._initMouseEvent(type, canBubble, cancelable, view, detail,
|
| screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey,
|
| button, relatedTarget);
|
| return event;
|
| @@ -41,14 +41,14 @@ $!MEMBERS
|
|
|
| @DomName('MouseEvent.clientX')
|
| @DomName('MouseEvent.clientY')
|
| - Point get client => new Point($dom_clientX, $dom_clientY);
|
| + Point get client => new Point(_clientX, _clientY);
|
|
|
| @DomName('MouseEvent.movementX')
|
| @DomName('MouseEvent.movementY')
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @SupportedBrowser(SupportedBrowser.SAFARI)
|
| @Experimental()
|
| - Point get movement => new Point($dom_webkitMovementX, $dom_webkitMovementY);
|
| + Point get movement => new Point(_webkitMovementX, _webkitMovementY);
|
|
|
| /**
|
| * The coordinates of the mouse pointer in target node coordinates.
|
| @@ -75,5 +75,5 @@ $!MEMBERS
|
|
|
| @DomName('MouseEvent.screenX')
|
| @DomName('MouseEvent.screenY')
|
| - Point get screen => new Point($dom_screenX, $dom_screenY);
|
| + Point get screen => new Point(_screenX, _screenY);
|
| }
|
|
|