• Eduardo Sanz García's avatar
    refactor adder.js · e4049374
    Eduardo Sanz García authored
    Code reorganisation:
    
    * Adder has a simplified API: added a public method display that internally calls private methods _target and _showAt
    * Performance improvement in _target method by removing multiple calls to this._width() and this._height()
    * More strict type for arrowDirection
    e4049374
adder-test.js 11.3 KB