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); |