Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: test/codegen/expect/sunflower/painter.js

Issue 1243503007: fixes #221, initial sync*, async, async* implementation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/codegen/expect/sunflower/dom.js ('k') | test/codegen/expect/sunflower/sunflower.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 });
OLDNEW
« no previous file with comments | « test/codegen/expect/sunflower/dom.js ('k') | test/codegen/expect/sunflower/sunflower.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698