OLD | NEW |
1 #library('CallbacksTest'); | 1 #library('CallbacksTest'); |
2 #import('../../pkg/unittest/unittest.dart'); | 2 #import('../../pkg/unittest/lib/unittest.dart'); |
3 #import('../../pkg/unittest/html_config.dart'); | 3 #import('../../pkg/unittest/lib/html_config.dart'); |
4 #import('dart:html'); | 4 #import('dart:html'); |
5 | 5 |
6 main() { | 6 main() { |
7 useHtmlConfiguration(); | 7 useHtmlConfiguration(); |
8 test('RequestAnimationFrameCallback', () { | 8 test('RequestAnimationFrameCallback', () { |
9 window.webkitRequestAnimationFrame((int time) => false); | 9 window.webkitRequestAnimationFrame((int time) => false); |
10 }); | 10 }); |
11 } | 11 } |
OLD | NEW |