floitsch@google.com
0672317bec
Remove deprecated mappedBy.
...
Committed: https://code.google.com/p/dart/source/detail?r=18575
Reverted: http://code.google.com/p/dart/source/detail?r=18576
Review URL: https://codereview.chromium.org//12212213
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18579 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:57:18 +00:00
floitsch@google.com
ad839e6957
Revert "Remove deprecated mappedBy."
...
This reverts commit 18575.
Review URL: https://codereview.chromium.org//12207205
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18576 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:23:22 +00:00
floitsch@google.com
b37100770b
Remove deprecated mappedBy.
...
Review URL: https://codereview.chromium.org//12212213
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18575 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:18:17 +00:00
blois@google.com
87867a746c
Fixing DOM's EventStream.isBroadcast
...
BUG=8457
Review URL: https://codereview.chromium.org//12263046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18541 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 21:30:31 +00:00
lrn@google.com
9b23dff467
Reapply "Rename mappedBy to map."
...
This reverts commit r17907.
TBR.
Review URL: https://codereview.chromium.org//12090093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 15:12:56 +00:00
floitsch@google.com
b1a118d5ce
Revert "Rename mappedBy to map."
...
This reverts commit 17899.
Review URL: https://codereview.chromium.org//12087103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17907 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:02:27 +00:00
lrn@google.com
0dc2f4b1ba
Rename mappedBy to map.
...
Retain a deprecated mappedBy for now.
Change return type of mappedBy, skip and take on List to Iterable.
BUG= http://dartbug.com/8063
BUG= http://dartbug.com/8064
BUG= http://dartbug.com/6739
BUG= http://dartbug.com/7982
Review URL: https://codereview.chromium.org//12086062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17899 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 12:37:13 +00:00
blois@google.com
a807c1fb7c
Fixing streams test.
...
Fails on dartium because of a missing param for the reduce test.
TBR
BUG=
Review URL: https://codereview.chromium.org//12066006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17725 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 18:04:47 +00:00
blois@google.com
ffc85c7428
Fixing type check error using Stream.take in dart2js checked mode.
...
Encountered this issue converting dart:html tests over to streams.
BUG=
Review URL: https://codereview.chromium.org//12061002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17719 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 16:58:31 +00:00
blois@google.com
d2aa044d2b
Deprecating old DOM event APIs.
...
This also exposes EventTarget.dispatchEvent. We had discussed naming this as 'dispatch', but it seems a bit safer to use 'dispatchEvent' to avoid potential name conflicts.
BUG=
Review URL: https://codereview.chromium.org//12047054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17595 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:42:02 +00:00
blois@google.com
b94a1065cb
Fixing the DOM event streams test to work on FF and IE.
...
I was using the focus event since it's supposed to be synchronous and it's nice to test with a browser-generated event for completeness, but it turns out the IE and FF<18 implement this as an async event (FF 18 appears to be correct).
Just changed the test to manually trigger the event which is a fairly close approximation.
BUG=7888
Review URL: https://codereview.chromium.org//11875022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17102 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 22:57:33 +00:00
blois@google.com
a4977979c4
Adding streams to dart:html.
...
This exposes all DOM events as streams. This keeps the current DOM event syntax as well, I'd like to make sure this API is stable before deprecating the old syntax, then we'll remove it a while after that.
I made an initial stab at getting the event types correct for the streams, though it's not documented very well and frequently inconsistent between browsers. Hopefully it's close, and I imagine there will be changes to come.
BUG=
Review URL: https://codereview.chromium.org//11824072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17028 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:19:28 +00:00