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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/background/injected_script_loader.js

Issue 2943193002: Run clang-format on .js files in c/b/r/chromeos/chromevox (Closed)
Patch Set: Created 3 years, 6 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
Index: chrome/browser/resources/chromeos/chromevox/chromevox/background/injected_script_loader.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/injected_script_loader.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/injected_script_loader.js
index 1cb54c8760cbb22bbad631daa9ff0aaacc018069..15d21b8d5ad388b6834af426951d69f0c50559dc 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/injected_script_loader.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/injected_script_loader.js
@@ -10,9 +10,8 @@ goog.provide('cvox.InjectedScriptLoader');
-
/** @constructor */
-cvox.InjectedScriptLoader = function() { };
+cvox.InjectedScriptLoader = function() {};
/**
@@ -41,8 +40,8 @@ cvox.InjectedScriptLoader.fetchCode = function(files, done) {
var debugSrc = src.replace('closure/../', '');
// The 'chromevox' id is only used in the DevTools instead of a long
// extension id.
- scriptText += '\n//# sourceURL= chrome-extension://chromevox/' +
- debugSrc + '\n';
+ scriptText +=
+ '\n//# sourceURL= chrome-extension://chromevox/' + debugSrc + '\n';
code[src] = scriptText;
waiting--;
if (waiting == 0) {
@@ -54,5 +53,7 @@ cvox.InjectedScriptLoader.fetchCode = function(files, done) {
xhr.send(null);
};
- files.forEach(function(f) { loadScriptAsCode(f); });
+ files.forEach(function(f) {
+ loadScriptAsCode(f);
+ });
};

Powered by Google App Engine
This is Rietveld 408576698