OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface $ID$EXTENDS default _$(ID)FactoryProvider { | 7 interface $ID$EXTENDS default _$(ID)FactoryProvider { |
8 | 8 |
9 // In JS, canBubble and cancelable are technically required parameters to | 9 // In JS, canBubble and cancelable are technically required parameters to |
10 // init*Event. In practice, though, if they aren't provided they simply | 10 // init*Event. In practice, though, if they aren't provided they simply |
11 // default to false (since that's Boolean(undefined)). | 11 // default to false (since that's Boolean(undefined)). |
12 // | 12 // |
13 // Contrary to JS, we default canBubble and cancelable to true, since that's | 13 // Contrary to JS, we default canBubble and cancelable to true, since that's |
14 // what people want most of the time anyway. | 14 // what people want most of the time anyway. |
15 $ID(String type, [bool canBubble, bool cancelable]); | 15 $ID(String type, [bool canBubble, bool cancelable]); |
16 $!MEMBERS} | 16 $!MEMBERS} |
OLD | NEW |