diff options
author | Rémi Tétreault <tetreault.remi@gmail.com> | 2017-02-22 00:20:09 -0500 |
---|---|---|
committer | Rémi Tétreault <tetreault.remi@gmail.com> | 2017-02-22 00:20:09 -0500 |
commit | 669c10a76ebd164c147d7f896fa162784c0b49df (patch) | |
tree | 7e8a86edc4b6bdcfb478347ef25e2a854b852f20 /bench | |
parent | 2d11717fe6ccd6b420f2faa5d56e3064e8574d18 (diff) | |
download | svg.js-669c10a76ebd164c147d7f896fa162784c0b49df.tar.gz svg.js-669c10a76ebd164c147d7f896fa162784c0b49df.zip |
Allow 0 to be passed without unit
This commit finish fixing issue #552. It makes it unnecessary to specify a
unit with 0 when interacting with another SVG.Number that has a unit.
This was accomplished by modifying the operation methods of SVG.Number to
allow them to use the unit of the passed number when this number as no unit.
Diffstat (limited to 'bench')
0 files changed, 0 insertions, 0 deletions