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

Unified Diff: chrome/browser/resources/policy.js

Issue 10010019: JS style nits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: couple more Created 8 years, 8 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 | « chrome/browser/resources/plugins.js ('k') | chrome/browser/resources/sessions.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/policy.js
diff --git a/chrome/browser/resources/policy.js b/chrome/browser/resources/policy.js
index daceb6a6e01b3531a127f2d3e5a30be8fbc6fb42..5c26d8b08b406c2e8d157b1d5afd87651dbc2ea8 100644
--- a/chrome/browser/resources/policy.js
+++ b/chrome/browser/resources/policy.js
@@ -48,7 +48,6 @@ cr.define('policies', function() {
cr.addSingletonGetter(Policy);
Policy.prototype = {
-
/**
* True if none of the received policies are actually set, false otherwise.
* @type {boolean}
@@ -73,7 +72,7 @@ cr.define('policies', function() {
if (this.noActivePolicies_)
$('no-policies').hidden = false;
if (policyData.status.displayStatusSection)
- $('status-section').hidden = false;;
+ $('status-section').hidden = false;
// This is the javascript code that processes the template:
var input = new JsEvalContext(policyData);
@@ -90,7 +89,7 @@ cr.define('policies', function() {
var containers = document.querySelectorAll('.text-container');
for (var i = 0; i < containers.length; i++)
- this.initTextContainer_(containers[i])
+ this.initTextContainer_(containers[i]);
},
/**
@@ -256,7 +255,7 @@ cr.define('policies', function() {
$('fetch-policies-button').onclick = function(event) {
this.disabled = true;
Policy.triggerPolicyFetch();
- }
+ };
$('toggle-unsent-policies').onchange = function(event) {
Policy.getInstance().updatePolicyVisibility();
« no previous file with comments | « chrome/browser/resources/plugins.js ('k') | chrome/browser/resources/sessions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698