| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 /// @domName Storage |
| 6 interface Storage extends Map<String, String> { |
| 7 |
| 8 /** @domName Storage.length */ |
| 9 final int $dom_length; |
| 10 |
| 11 /** @domName Storage.clear */ |
| 12 void $dom_clear(); |
| 13 |
| 14 /** @domName Storage.getItem */ |
| 15 String $dom_getItem(String key); |
| 16 |
| 17 /** @domName Storage.key */ |
| 18 String $dom_key(int index); |
| 19 |
| 20 /** @domName Storage.removeItem */ |
| 21 void $dom_removeItem(String key); |
| 22 |
| 23 /** @domName Storage.setItem */ |
| 24 void $dom_setItem(String key, String data); |
| 25 |
| 26 } |
| OLD | NEW |