| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index f512891617b9d62e5e4a61c8908223a0a98e3728..a1ea767add95eb6be0b3bbb73ef5602cb357ac11 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -7398,7 +7398,7 @@ class _FrozenElementList implements List {
|
| return new ListView<Element>(this, 0, n);
|
| }
|
|
|
| - Iterable<Element> takeWhile(bool test(T value)) {
|
| + Iterable<Element> takeWhile(bool test(value)) {
|
| return new TakeWhileIterable<Element>(this, test);
|
| }
|
|
|
| @@ -7406,7 +7406,7 @@ class _FrozenElementList implements List {
|
| return new ListView<Element>(this, n, null);
|
| }
|
|
|
| - Iterable<Element> skipWhile(bool test(T value)) {
|
| + Iterable<Element> skipWhile(bool test(value)) {
|
| return new SkipWhileIterable<Element>(this, test);
|
| }
|
|
|
| @@ -24834,9 +24834,9 @@ class KeyboardEventController {
|
|
|
|
|
| /**
|
| - * Defines the keycode values for keys that are returned by
|
| + * Defines the keycode values for keys that are returned by
|
| * KeyboardEvent.keyCode.
|
| - *
|
| + *
|
| * Important note: There is substantial divergence in how different browsers
|
| * handle keycodes and their variants in different locales/keyboard layouts. We
|
| * provide these constants to help make code processing keys more readable.
|
| @@ -24844,7 +24844,7 @@ class KeyboardEventController {
|
| abstract class KeyCode {
|
| // These constant names were borrowed from Closure's Keycode enumeration
|
| // class.
|
| - // http://closure-library.googlecode.com/svn/docs/closure_goog_events_keycodes.js.source.html
|
| + // http://closure-library.googlecode.com/svn/docs/closure_goog_events_keycodes.js.source.html
|
| static const int WIN_KEY_FF_LINUX = 0;
|
| static const int MAC_ENTER = 3;
|
| static const int BACKSPACE = 8;
|
| @@ -25039,12 +25039,12 @@ abstract class KeyCode {
|
| (keyCode >= A && keyCode <= Z)) {
|
| return true;
|
| }
|
| -
|
| +
|
| // Safari sends zero key code for non-latin characters.
|
| if (_Device.isWebKit && keyCode == 0) {
|
| return true;
|
| }
|
| -
|
| +
|
| return (keyCode == SPACE || keyCode == QUESTION_MARK || keyCode == NUM_PLUS
|
| || keyCode == NUM_MINUS || keyCode == NUM_PERIOD ||
|
| keyCode == NUM_DIVISION || keyCode == SEMICOLON ||
|
| @@ -26930,7 +26930,7 @@ class FixedSizeListIterator<T> implements Iterator<T> {
|
| final int _length; // Cache array length for faster access.
|
| int _position;
|
| T _current;
|
| -
|
| +
|
| FixedSizeListIterator(List<T> array)
|
| : _array = array,
|
| _position = -1,
|
|
|