Changes between Version 11 and Version 12 of Ticket #1434


Ignore:
Timestamp:
04/01/2015 03:14:49 PM (5 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1434 – Description

    v11 v12  
    11=== Background === 
    2  
    3 We already removed non-standard code from the `adblockplus` repository (#312), 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), but there is still some non-standard code left in the `buildtools` repository which is bundled with Firefox extensions. 
    43 
    54=== What to change === 
    65* Replace `{__proto__: null}` with `Object.create(null)` in `bootstrap.js.tmpl` and `lib/keySelector.js`. 
    76* Replace `for each (..)` with `for (.. of ..)` loops in `lib/keySelector.js`. 
    8 * Replace function expressions with arrow functions in `bootstrap.js.tmpl` and `lib/prefs.js`. 
     7* Replace non-standard function expressions with arrow functions in `bootstrap.js.tmpl` and `lib/prefs.js`. 
    98* Replace `__defineGetter__()` and `__defineSetter__()` with `Object.defineProperty()` in `lib/hooks.js` and `lib/prefs.js`. 
    109* Replace `__lookupGetter__()` and `__lookupSetter__()` with `Object.getOwnPropertyDescriptor()` in `lib/hooks.js`.