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

Unified Diff: visual_studio/NativeClientVSAddIn/TestingProjects/BlankValidSolution/NaClProject/index.html

Issue 11085093: Remove windows lines endings (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 2 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: visual_studio/NativeClientVSAddIn/TestingProjects/BlankValidSolution/NaClProject/index.html
diff --git a/visual_studio/NativeClientVSAddIn/TestingProjects/BlankValidSolution/NaClProject/index.html b/visual_studio/NativeClientVSAddIn/TestingProjects/BlankValidSolution/NaClProject/index.html
index 2e572ed210e9e0c723861641047d4afe6e6d2b15..c1608836b36892147e2103643e251ba63dace108 100644
--- a/visual_studio/NativeClientVSAddIn/TestingProjects/BlankValidSolution/NaClProject/index.html
+++ b/visual_studio/NativeClientVSAddIn/TestingProjects/BlankValidSolution/NaClProject/index.html
@@ -1,53 +1,53 @@
-<!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">
- <script type="text/javascript">
- function pageDidLoad() {
- updateStatus('Page loaded.');
- }
-
- // Set the global status message
- function updateStatus(opt_message) {
- naclModule = document.getElementById('nacl_module');
- var statusField = document.getElementById('statusField');
- if (statusField) {
- statusField.innerHTML = opt_message;
- }
- }
-
- function handleMessage(message_event) {
- updateStatus(message_event.data);
-
- if (message_event.data == "relay1") {
- naclModule.postMessage("relay2");
- }
- if (message_event.data == "relay2") {
- naclModule.postMessage("relay1");
- }
- }
-
- </script>
-</head>
-<body onload="pageDidLoad()">
- <h2>Status: <code id="statusField">NO-STATUS</code></h2>
- <div id="listener">
- <script type="text/javascript">
- var listener = document.getElementById('listener');
- listener.addEventListener('message', handleMessage, true);
- </script>
- <embed name="nacl_module"
- id="nacl_module"
- width=200
- height=200
- src="nacl_project.nmf"
- type="application/x-nacl"/>
- </div>
-</body>
-</html>
+<!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">
+ <script type="text/javascript">
+ function pageDidLoad() {
+ updateStatus('Page loaded.');
+ }
+
+ // Set the global status message
+ function updateStatus(opt_message) {
+ naclModule = document.getElementById('nacl_module');
+ var statusField = document.getElementById('statusField');
+ if (statusField) {
+ statusField.innerHTML = opt_message;
+ }
+ }
+
+ function handleMessage(message_event) {
+ updateStatus(message_event.data);
+
+ if (message_event.data == "relay1") {
+ naclModule.postMessage("relay2");
+ }
+ if (message_event.data == "relay2") {
+ naclModule.postMessage("relay1");
+ }
+ }
+
+ </script>
+</head>
+<body onload="pageDidLoad()">
+ <h2>Status: <code id="statusField">NO-STATUS</code></h2>
+ <div id="listener">
+ <script type="text/javascript">
+ var listener = document.getElementById('listener');
+ listener.addEventListener('message', handleMessage, true);
+ </script>
+ <embed name="nacl_module"
+ id="nacl_module"
+ width=200
+ height=200
+ src="nacl_project.nmf"
+ type="application/x-nacl"/>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698