OLD | NEW |
1 dart_library.library('painter', null, /* Imports */[ | 1 dart_library.library('sunflower/painter', null, /* Imports */[ |
2 "dart_runtime/dart", | 2 "dart_runtime/dart", |
3 'dart/math', | 3 'dart/math', |
4 'dom', | 4 'sunflower/dom', |
5 'dart/core', | 5 'dart/core', |
6 'circle' | 6 'sunflower/circle' |
7 ], /* Lazy imports */[ | 7 ], /* Lazy imports */[ |
8 ], function(exports, dart, math, dom, core, circle) { | 8 ], function(exports, dart, math, dom, core, circle) { |
9 'use strict'; | 9 'use strict'; |
10 let dartx = dart.dartx; | 10 let dartx = dart.dartx; |
11 let ORANGE = "orange"; | 11 let ORANGE = "orange"; |
12 let RED = "red"; | 12 let RED = "red"; |
13 let BLUE = "blue"; | 13 let BLUE = "blue"; |
14 let TAU = dart.notNull(math.PI) * 2; | 14 let TAU = dart.notNull(math.PI) * 2; |
15 function querySelector(selector) { | 15 function querySelector(selector) { |
16 return dom.document.querySelector(selector); | 16 return dom.document.querySelector(selector); |
(...skipping 27 matching lines...) Expand all Loading... |
44 methods: () => ({draw: [dart.void, [dom.CanvasRenderingContext2D]]}) | 44 methods: () => ({draw: [dart.void, [dom.CanvasRenderingContext2D]]}) |
45 }); | 45 }); |
46 // Exports: | 46 // Exports: |
47 exports.ORANGE = ORANGE; | 47 exports.ORANGE = ORANGE; |
48 exports.RED = RED; | 48 exports.RED = RED; |
49 exports.BLUE = BLUE; | 49 exports.BLUE = BLUE; |
50 exports.TAU = TAU; | 50 exports.TAU = TAU; |
51 exports.querySelector = querySelector; | 51 exports.querySelector = querySelector; |
52 exports.CirclePainter = CirclePainter; | 52 exports.CirclePainter = CirclePainter; |
53 }); | 53 }); |
OLD | NEW |