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

Unified Diff: lib/runtime/dart/_js_primitives.js

Issue 1879373004: Implement modular compilation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart/_js_mirrors.js ('k') | lib/runtime/dart/_metadata.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_js_primitives.js
diff --git a/lib/runtime/dart/_js_primitives.js b/lib/runtime/dart/_js_primitives.js
deleted file mode 100644
index a7a5f8fdd0735e7177035e1b82a1035f7a729c2c..0000000000000000000000000000000000000000
--- a/lib/runtime/dart/_js_primitives.js
+++ /dev/null
@@ -1,29 +0,0 @@
-dart_library.library('dart/_js_primitives', null, /* Imports */[
- 'dart/_runtime',
- 'dart/core'
-], /* Lazy imports */[
-], function(exports, dart, core) {
- 'use strict';
- let dartx = dart.dartx;
- function printString(string) {
- if (typeof dartPrint == "function") {
- dartPrint(string);
- return;
- }
- if (typeof console == "object" && typeof console.log != "undefined") {
- console.log(string);
- return;
- }
- if (typeof window == "object") {
- return;
- }
- if (typeof print == "function") {
- print(string);
- return;
- }
- throw "Unable to print message: " + String(string);
- }
- dart.fn(printString, dart.void, [core.String]);
- // Exports:
- exports.printString = printString;
-});
« no previous file with comments | « lib/runtime/dart/_js_mirrors.js ('k') | lib/runtime/dart/_metadata.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698