summaryrefslogtreecommitdiffstats
path: root/src/number.js
Commit message (Collapse)AuthorAgeFilesLines
* Allow 0 to be passed without unitRémi Tétreault2017-02-221-4/+8
| | | | | | | | 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.
* Sort out leftovers from the old fx moduleRémi Tétreault2017-02-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is mostly to clean up the implementation of the initAnimation method of the Fx Module (issue #547). It also fixes these issues: #552, #582 and #584. Here is a list of the changes and fixes that are made: * Add a plot and array method to SVG.TextPath (issue #582) * Make the method plot a getter when no parameter is passed for SVG.Polyline, SVG.Polygon, SVG.Line, SVG.Path (this idea come from issue #547) * Allow SVG.PointArray to be passed flat array * Change the regexp SVG.PointArray use to parse string to allow more flexibility in the way spaces and commas can be used to separate points (something like this is now accepted: '1, 2, 3, 4') * Allow plot to be called with 4 parameters when animating an SVG.Line * Fix a bug in the plain morphing part of SVG.MorphObj that is in the FX module * Relative value for SVG.Number are now calculated in its morph method (idea from issue #547) * Clean up the implementation of the initAnimation method of the FX module (issues #547, #552, #584)
* fixed unit unit regex and renamed it to numberAndUnit, added specs (fix #443)Ulrich-Matthias Schäfer2016-01-231-7/+7
|
* fixed `svgjs:data` attribute which was not set properly in all browsers (#428)Ulrich-Matthias Schäfer2016-01-211-0/+3
| | | | | added specs for `writeDataToDom()` and `setData()` added toJSON in SVG.Number
* remove useless executable permissionPeter Dave Hello2015-06-231-0/+0
|
* Fix in SVG.Numberwout2014-09-031-3/+5
|
* Fixed instantiation issue in SVG.Numberwout2014-08-281-23/+17
|
* Various small fixeswout2014-07-251-84/+86
|
* Bumped to 1.0.0-rc.6wout2014-03-041-27/+25
|
* Added second values to SVG.Numberwout2014-02-031-1/+9
|
* added `morph()` and `at()` methods to `SVG.Number` for unit morphingwout2014-02-011-7/+24
|
* Bumped to v0.33wout2014-01-221-0/+0
|
* Added animatible poly's, bumped to v0.31wout2013-08-011-1/+1
|
* Added support for CommonJS and AMD, bunped to v0.300.31wout2013-07-261-1/+2
|
* Added SVG.Array and bumped to v0.29wout2013-07-251-1/+1
|
* Reworked SVG.Text to give more granular controlwout2013-07-231-1/+1
|
* Fix in SVG.Number for IE0.24wout2013-07-011-10/+12
|
* Fix in unit parser with negative values.wout2013-06-301-1/+1
|
* Added SVG.Number, reworked gradient systemwout2013-06-231-0/+75