| Index: chrome/browser/resources/options/chromeos/onc_data.js
|
| diff --git a/chrome/browser/resources/options/chromeos/onc_data.js b/chrome/browser/resources/options/chromeos/onc_data.js
|
| index 8114dbd2a33e27bcc47b7d29b003c09d78462ce6..23bc0039f8cef4c59d39e11893fdc42b05f18b65 100644
|
| --- a/chrome/browser/resources/options/chromeos/onc_data.js
|
| +++ b/chrome/browser/resources/options/chromeos/onc_data.js
|
| @@ -22,7 +22,9 @@ cr.define('cr.onc', function() {
|
|
|
| OncData.prototype = {
|
| /** @return {string} The GUID of the network. */
|
| - guid: function() { return this.data_['GUID']; },
|
| + guid: function() {
|
| + return this.data_['GUID'];
|
| + },
|
|
|
| /**
|
| * Returns either a managed property dictionary or an unmanaged value.
|
| @@ -63,8 +65,7 @@ cr.define('cr.onc', function() {
|
| data = data[keyComponent];
|
| key = key.substr(index + 1);
|
| }
|
| - if (!(key in data) ||
|
| - (typeof data[key] != 'object') ||
|
| + if (!(key in data) || (typeof data[key] != 'object') ||
|
| (!('Active' in data[key]) && !('Effective' in data[key]))) {
|
| data[key] = value;
|
| } else {
|
| @@ -92,7 +93,7 @@ cr.define('cr.onc', function() {
|
| return property['Active'];
|
| // If no Active value is defined, return the effective value if present.
|
| var effective = this.getEffectiveValueFromProperty_(
|
| - /** @type {Object} */(property));
|
| + /** @type {Object} */ (property));
|
| if (effective != undefined)
|
| return effective;
|
| // Otherwise this is an Object but not a Managed one.
|
| @@ -189,7 +190,5 @@ cr.define('cr.onc', function() {
|
| }
|
| };
|
|
|
| - return {
|
| - OncData: OncData
|
| - };
|
| + return {OncData: OncData};
|
| });
|
|
|