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

Unified Diff: sky/examples/terminal/index.sky

Issue 1038813005: Move terminal example from //sky/examples to //examples (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « sky/examples/terminal/README.md ('k') | sky/examples/terminal/terminal.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/terminal/index.sky
diff --git a/sky/examples/terminal/index.sky b/sky/examples/terminal/index.sky
deleted file mode 100644
index 2244afcedb1793d078bc59b8233d9718494f211d..0000000000000000000000000000000000000000
--- a/sky/examples/terminal/index.sky
+++ /dev/null
@@ -1,26 +0,0 @@
-#!mojo mojo:sky_viewer
-<!--
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
--->
-<import src="terminal.sky" />
-<!--
-<terminal id="terminal" url="mojo:echo_terminal" />
--->
-<terminal id="terminal" />
-<script>
-import 'dart:core';
-import 'dart:sky';
-
-main () {
- var terminal = document.getElementById('terminal');
- var params = Uri.parse(document.URL).queryParameters;
- if (params.containsKey('url')) {
- terminal.connect(params['url']);
- } else {
- terminal.putString('HALP: Add a "?url=<URL>" query.\n'
- 'E.g., "?url=mojo:echo_terminal".\n');
- }
-}
-</script>
« no previous file with comments | « sky/examples/terminal/README.md ('k') | sky/examples/terminal/terminal.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698