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

Unified Diff: native_client_sdk/src/examples/getting_started/simple_hello_world/index.html

Issue 23661005: [NaCl SDK] Add a very simple getting_started example at top-level. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add hello_tutorial.nmf Created 7 years, 3 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
Index: native_client_sdk/src/examples/getting_started/simple_hello_world/index.html
diff --git a/native_client_sdk/src/examples/getting_started/simple_hello_world/index.html b/native_client_sdk/src/examples/getting_started/simple_hello_world/index.html
deleted file mode 100644
index 8779f497ebb6e12501bbcdb11b9a73048eacfbce..0000000000000000000000000000000000000000
--- a/native_client_sdk/src/examples/getting_started/simple_hello_world/index.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html>
-<!--
-Copyright (c) 2012 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.
--->
-<head>
- <meta http-equiv="Pragma" content="no-cache">
- <meta http-equiv="Expires" content="-1">
- <title>{{title}}</title>
- <script type="text/javascript" src="common.js"></script>
- <script type="text/javascript" src="example.js"></script>
-</head>
-<body {{attrs}} data-attrs="ps_stdout=dev/tty">
- <h1>{{title}}</h1>
- <h2>Status: <code id="statusField">NO-STATUS</code></h2>
- <p>The Hello World Stdio example is the simplest one in the SDK. It uses the
- ppapi_main library which creates a Module and an Instance, using default
- values to simplify setup and communication with the PPAPI system. In
- addition, it uses the nacl_io library to remap IO to the Pepper API. This
- simplifies IO by providing a standard blocking API and allowing STDERR to
- go to the JavaScript console by default.</p>
- <p>In main, we write to both STDOUT and STDERR, printing a hello world
- message.</p>
-
- <!-- The NaCl plugin will be embedded inside the element with id "listener".
- See common.js.-->
- <h2>Output:</h2>
- <pre id="log" style="font-weight:bold"></pre>
- <div id="listener"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698