Index: chrome/browser/resources/about_nacl.js |
diff --git a/chrome/browser/resources/about_nacl.js b/chrome/browser/resources/about_nacl.js |
index 09519e16142f2fcf4a085d58ba171aa0ed3adf19..7bbc87c3f70e39853f90c1f89c9c0711ec2d30e4 100644 |
--- a/chrome/browser/resources/about_nacl.js |
+++ b/chrome/browser/resources/about_nacl.js |
@@ -5,38 +5,38 @@ |
var nacl = nacl || {}; |
(function() { |
- /** |
- * Takes the |moduleListData| input argument which represents data about |
- * the currently available modules and populates the html jstemplate |
- * with that data. It expects an object structure like the above. |
- * @param {Object} moduleListData Information about available modules |
- */ |
- function renderTemplate(moduleListData) { |
- // Process the template. |
- var input = new JsEvalContext(moduleListData); |
- var output = $('naclInfoTemplate'); |
- jstProcess(input, output); |
- } |
+/** |
+ * Takes the |moduleListData| input argument which represents data about |
+ * the currently available modules and populates the html jstemplate |
+ * with that data. It expects an object structure like the above. |
+ * @param {Object} moduleListData Information about available modules |
+ */ |
+function renderTemplate(moduleListData) { |
+ // Process the template. |
+ var input = new JsEvalContext(moduleListData); |
+ var output = $('naclInfoTemplate'); |
+ jstProcess(input, output); |
+} |
- /** |
- * Asks the C++ NaClUIDOMHandler to get details about the NaCl and return |
- * the data in returnNaClInfo() (below). |
- */ |
- function requestNaClInfo() { |
- chrome.send('requestNaClInfo'); |
- } |
+/** |
+ * Asks the C++ NaClUIDOMHandler to get details about the NaCl and return |
+ * the data in returnNaClInfo() (below). |
+ */ |
+function requestNaClInfo() { |
+ chrome.send('requestNaClInfo'); |
+} |
- /** |
- * Called by the WebUI to re-populate the page with data representing the |
- * current state of NaCl. |
- * @param {Object} moduleListData Information about available modules |
- */ |
- nacl.returnNaClInfo = function(moduleListData) { |
- $('loading-message').hidden = 'hidden'; |
- $('body-container').hidden = ''; |
- renderTemplate(moduleListData); |
- }; |
+/** |
+ * Called by the WebUI to re-populate the page with data representing the |
+ * current state of NaCl. |
+ * @param {Object} moduleListData Information about available modules |
+ */ |
+nacl.returnNaClInfo = function(moduleListData) { |
+ $('loading-message').hidden = 'hidden'; |
+ $('body-container').hidden = ''; |
+ renderTemplate(moduleListData); |
+}; |
- // Get data and have it displayed upon loading. |
- document.addEventListener('DOMContentLoaded', requestNaClInfo); |
+// Get data and have it displayed upon loading. |
+document.addEventListener('DOMContentLoaded', requestNaClInfo); |
})(); |