summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 18:19:37 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-03 18:19:37 +0000
commitdf064db3c7284f8b3b7330dd332584e0aa462483 (patch)
tree7e5ccd67714e3e42fd8450bb87ce018749336d4c /chrome/browser
parent2572d135d14fe6b15a5081ae22b07c7df3c36847 (diff)
downloadchromium_src-df064db3c7284f8b3b7330dd332584e0aa462483.zip
chromium_src-df064db3c7284f8b3b7330dd332584e0aa462483.tar.gz
chromium_src-df064db3c7284f8b3b7330dd332584e0aa462483.tar.bz2
Removing CRLFs from extensions.html
Review URL: http://codereview.chromium.org/39025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/resources/extensions.html172
1 files changed, 86 insertions, 86 deletions
diff --git a/chrome/browser/resources/extensions.html b/chrome/browser/resources/extensions.html
index 9147b03..2428e14 100644
--- a/chrome/browser/resources/extensions.html
+++ b/chrome/browser/resources/extensions.html
@@ -1,87 +1,87 @@
-<!DOCTYPE HTML>
-<html id="root">
-<head>
-<meta charset="utf-8">
-<title jscontent="title"></title>
-<script type="text/javascript">
-
-// TODO(rafaelw): Remove. This is stub data. The idea is that the C++ will
-// populate a similar json structure and hand it to this page with real data
-// from the extensions system
-var testExtensionData = [
- {
- "name": "Dummy Extension",
- "description": "Does some extremely cool stuff that I won't ever bother " +
- "explaining, because it's just that cool.",
- "version": "1.0.231",
- "content_scripts": [
- {
- "js": ["file1.js", "file2.js"],
- "matches": ["http://*/*", "http://other.com/*"]
- },
- {
- "js": ["file1.js", "file2.js"],
- "matches": ["http://*/*", "http://other.com/*"]
- },
- {
- "js": ["file1.js", "file2.js"],
- "matches": ["http://*/*", "http://other.com/*"]
- },
- ],
- },
- {
- "name": "PlaceHolder Extension",
- "description": "",
- "version": "1.0.231",
- "content_scripts": [],
- }
-];
-
-/**
- * Takes the |extensionsData| input argument which represents data about the
- * currently installed/running extensions and populates the html jstemplate with
- * that data
- * @param {Object} extensionsData Detailed info about installed extensions
- */
-function showExtensionsData(extensionsData) {
- // This is the javascript code that processes the template:
- var input = new JsExprContext(extensionsData);
- var output = document.getElementById('extensionTemplate');
- jstProcess(input, output);
-}
-</script>
-<style type="text/css">
-h1 {
- text-align: center;
-}
-.extension{
- padding: 8px;
-}
-.scriptMatches {
- padding: 4px;
- font-size: 12px;
-}
-</style>
-</head>
-<body onload="showExtensionsData(testExtensionData);">
- <h1>Installed Extensions</h1>
- <div id="extensionTemplate">
- <div class="extension" jsselect="$this">
- <div jscontent="name">Extension Name</div>
- <div jscontent="description">Extension Description</div>
- <div>Version: <span jscontent="version">x.x.x.x</span></div>
- <div class="scriptMatches" jsselect="content_scripts">
- <div>
- <span jsselect="js"
- jscontent="(($index > 0) ? ' ' : '') + $this">
- </span>
- </div>
- <div>
- <span jsselect="matches"
- jscontent="(($index > 0) ? ' ' : '') + $this">
- </span>
- </div>
- </div>
- </div>
- </body>
+<!DOCTYPE HTML>
+<html id="root">
+<head>
+<meta charset="utf-8">
+<title jscontent="title"></title>
+<script type="text/javascript">
+
+// TODO(rafaelw): Remove. This is stub data. The idea is that the C++ will
+// populate a similar json structure and hand it to this page with real data
+// from the extensions system
+var testExtensionData = [
+ {
+ "name": "Dummy Extension",
+ "description": "Does some extremely cool stuff that I won't ever bother " +
+ "explaining, because it's just that cool.",
+ "version": "1.0.231",
+ "content_scripts": [
+ {
+ "js": ["file1.js", "file2.js"],
+ "matches": ["http://*/*", "http://other.com/*"]
+ },
+ {
+ "js": ["file1.js", "file2.js"],
+ "matches": ["http://*/*", "http://other.com/*"]
+ },
+ {
+ "js": ["file1.js", "file2.js"],
+ "matches": ["http://*/*", "http://other.com/*"]
+ },
+ ],
+ },
+ {
+ "name": "PlaceHolder Extension",
+ "description": "",
+ "version": "1.0.231",
+ "content_scripts": [],
+ }
+];
+
+/**
+ * Takes the |extensionsData| input argument which represents data about the
+ * currently installed/running extensions and populates the html jstemplate with
+ * that data
+ * @param {Object} extensionsData Detailed info about installed extensions
+ */
+function showExtensionsData(extensionsData) {
+ // This is the javascript code that processes the template:
+ var input = new JsExprContext(extensionsData);
+ var output = document.getElementById('extensionTemplate');
+ jstProcess(input, output);
+}
+</script>
+<style type="text/css">
+h1 {
+ text-align: center;
+}
+.extension{
+ padding: 8px;
+}
+.scriptMatches {
+ padding: 4px;
+ font-size: 12px;
+}
+</style>
+</head>
+<body onload="showExtensionsData(testExtensionData);">
+ <h1>Installed Extensions</h1>
+ <div id="extensionTemplate">
+ <div class="extension" jsselect="$this">
+ <div jscontent="name">Extension Name</div>
+ <div jscontent="description">Extension Description</div>
+ <div>Version: <span jscontent="version">x.x.x.x</span></div>
+ <div class="scriptMatches" jsselect="content_scripts">
+ <div>
+ <span jsselect="js"
+ jscontent="(($index > 0) ? ' ' : '') + $this">
+ </span>
+ </div>
+ <div>
+ <span jsselect="matches"
+ jscontent="(($index > 0) ? ' ' : '') + $this">
+ </span>
+ </div>
+ </div>
+ </div>
+ </body>
</html> \ No newline at end of file