Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/ui/filters.xul

Issue 4884233277407232: Issue 2257 - Replaced non-standard function expressions with ES6 arrow functions (Closed)
Patch Set: 2nd argument to Utils.runAsync isn't necessary with arrow functions Created April 1, 2015, 5:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- 3 <!--
4 - This file is part of Adblock Plus <https://adblockplus.org/>, 4 - This file is part of Adblock Plus <https://adblockplus.org/>,
5 - Copyright (C) 2006-2015 Eyeo GmbH 5 - Copyright (C) 2006-2015 Eyeo GmbH
6 - 6 -
7 - Adblock Plus is free software: you can redistribute it and/or modify 7 - Adblock Plus is free software: you can redistribute it and/or modify
8 - it under the terms of the GNU General Public License version 3 as 8 - it under the terms of the GNU General Public License version 3 as
9 - published by the Free Software Foundation. 9 - published by the Free Software Foundation.
10 - 10 -
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 <findbar id="findbar"/> 376 <findbar id="findbar"/>
377 377
378 <hbox id="buttons"> 378 <hbox id="buttons">
379 <button id="backupButton" type="menu" 379 <button id="backupButton" type="menu"
380 label="&backupButton.label;" 380 label="&backupButton.label;"
381 _backupDialogTitle="&backup.label;" _restoreDialogTitle="&restore.own.labe l;" 381 _backupDialogTitle="&backup.label;" _restoreDialogTitle="&restore.own.labe l;"
382 _fileFilterComplete="&backup.complete.title;" _fileFilterCustom="&backup.c ustom.title;" 382 _fileFilterComplete="&backup.complete.title;" _fileFilterCustom="&backup.c ustom.title;"
383 _backupError="&backup.error;" _restoreError="&restore.error;" 383 _backupError="&backup.error;" _restoreError="&restore.error;"
384 _restoreCompleteWarning="&restore.complete.warning;" _restoreCustomWarning ="&restore.custom.warning;" 384 _restoreCompleteWarning="&restore.complete.warning;" _restoreCustomWarning ="&restore.custom.warning;"
385 _restoreVersionWarning="&restore.minVersion.warning;" 385 _restoreVersionWarning="&restore.minVersion.warning;"
386 oncommand="if (event.target == this) Utils.runAsync(function() this.open = true, this);"> 386 oncommand="if (event.target == this) Utils.runAsync(() => this.open = true );">
387 <menupopup onpopupshowing="Backup.fillRestorePopup();"> 387 <menupopup onpopupshowing="Backup.fillRestorePopup();">
388 <menuitem id="backup" key="backup-key" label="&backup.label;…" oncommand=" Backup.backupToFile();"/> 388 <menuitem id="backup" key="backup-key" label="&backup.label;…" oncommand=" Backup.backupToFile();"/>
389 <menuseparator/> 389 <menuseparator/>
390 <menuitem id="restoreBackupTemplate" label="&restore.default.label;" hidde n="true"/> 390 <menuitem id="restoreBackupTemplate" label="&restore.default.label;" hidde n="true"/>
391 <menuitem id="restoreOwnBackup" key="restore-key" label="&restore.own.labe l;…" oncommand="Backup.restoreFromFile();"/> 391 <menuitem id="restoreOwnBackup" key="restore-key" label="&restore.own.labe l;…" oncommand="Backup.restoreFromFile();"/>
392 </menupopup> 392 </menupopup>
393 </button> 393 </button>
394 394
395 <spacer flex="1"/> 395 <spacer flex="1"/>
396 396
397 <button id="close" dlgtype="accept" label="&close.label;"/> 397 <button id="close" dlgtype="accept" label="&close.label;"/>
398 </hbox> 398 </hbox>
399 399
400 </dialog> 400 </dialog>
OLDNEW

Powered by Google App Engine
This is Rietveld