| Index: chrome/browser/resources/chromeos/chromevox/host/chrome/host.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/host/chrome/host.js b/chrome/browser/resources/chromeos/chromevox/host/chrome/host.js
|
| index cc3028f614f469f4c8b67e33b5dbed3049e94aaa..c485669094f81db88060ce1205ab366c63f9ef03 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/host/chrome/host.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/host/chrome/host.js
|
| @@ -61,7 +61,7 @@ cvox.ChromeHost.prototype.init = function() {
|
| cvox.ChromeVox.version = prefs['version'];
|
|
|
| cvox.ChromeVox.typingEcho =
|
| - /** @type {number} */(JSON.parse(prefs['typingEcho']));
|
| + /** @type {number} */ (JSON.parse(prefs['typingEcho']));
|
|
|
| if (prefs['position']) {
|
| cvox.ChromeVox.position =
|
| @@ -100,7 +100,8 @@ cvox.ChromeHost.prototype.init = function() {
|
| if (msg['message'] == 'DOMAINS_STYLES') {
|
| cvox.TraverseMath.getInstance().addDomainsAndStyles(
|
| msg['domains'], msg['styles']);
|
| - }});
|
| + }
|
| + });
|
|
|
| cvox.ExtensionBridge.addMessageListener(function(msg, port) {
|
| var message = msg['message'];
|
| @@ -121,15 +122,9 @@ cvox.ChromeHost.prototype.init = function() {
|
| }
|
| }.bind(this));
|
|
|
| - cvox.ExtensionBridge.send({
|
| - 'target': 'Prefs',
|
| - 'action': 'getPrefs'
|
| - });
|
| + cvox.ExtensionBridge.send({'target': 'Prefs', 'action': 'getPrefs'});
|
|
|
| - cvox.ExtensionBridge.send({
|
| - 'target': 'Data',
|
| - 'action': 'getHistory'
|
| - });
|
| + cvox.ExtensionBridge.send({'target': 'Data', 'action': 'getHistory'});
|
| };
|
|
|
|
|
|
|