Changes between Version 14 and Version 15 of Ticket #1434


Ignore:
Timestamp:
12/16/2015 12:07:09 PM (4 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1434 – Description

    v14 v15  
    11=== Background === 
    2 We already removed non-standard JavaScript code from the `adblockplus` repository (#312), and from `prefs.js` (#3418), but there is still some non-standard code left in the `buildtools` repository which is bundled with Firefox extensions. 
     2We already removed non-standard JavaScript code from the `adblockplus` repository (#312), from `prefs.js` (#3418), and partly from `keySelecotr.js` (#3421), but there is still some non-standard code left in the `buildtools` repository which is bundled with Firefox extensions. 
    33 
    44=== What to change === 
    55* Replace `{__proto__: null}` with `Object.create(null)` in `bootstrap.js.tmpl` and `lib/keySelector.js`. 
    6 * Replace `for each (..)` with `for (.. of ..)` loops in `lib/keySelector.js`. 
    76* Replace non-standard function expressions with arrow functions in `bootstrap.js.tmpl`. 
    87* Replace `__defineGetter__()` and `__defineSetter__()` with `Object.defineProperty()` in `lib/hooks.js`.