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

Unified Diff: ui/webui/resources/js/cr/ui/alert_overlay.js

Issue 2597013002: Run clang-format on ui/webui/resources (Closed)
Patch Set: remove cr_shared_menu.js Created 4 years 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: ui/webui/resources/js/cr/ui/alert_overlay.js
diff --git a/ui/webui/resources/js/cr/ui/alert_overlay.js b/ui/webui/resources/js/cr/ui/alert_overlay.js
index 062f5b3fceb81f6502379ab6f255cc526c1f09a1..f3962d1867a9c6f22d98aa0c129e3f9e4948807a 100644
--- a/ui/webui/resources/js/cr/ui/alert_overlay.js
+++ b/ui/webui/resources/js/cr/ui/alert_overlay.js
@@ -52,8 +52,9 @@ cr.define('alertOverlay', function() {
* user presses the cancel button. Can be undefined if |opt_cancelTitle|
* is falsey.
*/
- function setValues(title, message, opt_okTitle, opt_cancelTitle,
- opt_okCallback, opt_cancelCallback) {
+ function setValues(
+ title, message, opt_okTitle, opt_cancelTitle, opt_okCallback,
+ opt_cancelCallback) {
if (typeof title != 'undefined')
$('alertOverlayTitle').textContent = title;
$('alertOverlayTitle').hidden = typeof title == 'undefined';
@@ -74,10 +75,7 @@ cr.define('alertOverlay', function() {
};
// Export
- return {
- initialize: initialize,
- setValues: setValues
- };
+ return {initialize: initialize, setValues: setValues};
});
document.addEventListener('DOMContentLoaded', alertOverlay.initialize);

Powered by Google App Engine
This is Rietveld 408576698