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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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/circle.js ('k') | test/codegen/expect/sunflower/painter.js » ('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('dom', window, /* Imports */[ 1 dart_library.library('dom', window, /* Imports */[
2 "dart_runtime/dart",
2 'dart/core' 3 'dart/core'
3 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
4 ], function(exports, core) { 5 ], function(exports, dart, core) {
5 'use strict'; 6 'use strict';
7 let dartx = dart.dartx;
6 class JsName extends core.Object { 8 class JsName extends core.Object {
7 JsName(opts) { 9 JsName(opts) {
8 let name = opts && 'name' in opts ? opts.name : null; 10 let name = opts && 'name' in opts ? opts.name : null;
9 this.name = name; 11 this.name = name;
10 } 12 }
11 } 13 }
12 dart.setSignature(JsName, { 14 dart.setSignature(JsName, {
13 constructors: () => ({JsName: [JsName, [], {name: core.String}]}) 15 constructors: () => ({JsName: [JsName, [], {name: core.String}]})
14 }); 16 });
15 class Overload extends core.Object { 17 class Overload extends core.Object {
(...skipping 25 matching lines...) Expand all
41 exports.JsName = JsName; 43 exports.JsName = JsName;
42 exports.Overload = Overload; 44 exports.Overload = Overload;
43 exports.overload = overload; 45 exports.overload = overload;
44 exports.EventListener = EventListener; 46 exports.EventListener = EventListener;
45 exports.InputElement = InputElement; 47 exports.InputElement = InputElement;
46 exports.CanvasElement = CanvasElement; 48 exports.CanvasElement = CanvasElement;
47 exports.RenderingContext = RenderingContext; 49 exports.RenderingContext = RenderingContext;
48 exports.CanvasDrawingStyles = CanvasDrawingStyles; 50 exports.CanvasDrawingStyles = CanvasDrawingStyles;
49 exports.CanvasPathMethods = CanvasPathMethods; 51 exports.CanvasPathMethods = CanvasPathMethods;
50 }); 52 });
OLDNEW
« no previous file with comments | « test/codegen/expect/sunflower/circle.js ('k') | test/codegen/expect/sunflower/painter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698