aboutsummaryrefslogtreecommitdiffstats
path: root/src/pointarray.js
Commit message (Collapse)AuthorAgeFilesLines
* Actually added the linter to gulp and fixed most errorsSaivan2018-02-271-1/+1
| | | | | | This commit fixes most of the errors raised by standard. There is still a strange call error, but that will be the focus of the next commit
* All files now loosely abide by standard lintingSaivan2018-02-271-35/+50
| | | | | | This commit completes the rest of the files, making sure they are in the standard linting format. Next we will add the linter to the build process of our application.
* Lots of breaking changes. Read below! (#646, #716)Ulrich-Matthias Schäfer2017-07-251-3/+8
| | | | | | | | | | - added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them - moved `defs()` method from `SVG.Parent` to `SVG.Element` - `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646) - `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()` - `SVG.Nested` is not `overflow:visible` by default - all `SVG.*` objects now can have a node as parameter when constructing - `SVG()` does not set a default size anymore
* move most regexe to SVG.regex, fix matrix constructor for string argumentUlrich-Matthias Schäfer2017-03-141-2/+2
|
* fixes SVG.PointArray.size() which created NaN when the bbox of the point ↵Ulrich-Matthias Schäfer2017-03-081-2/+2
| | | | | | | | array had zero height/width (#625) fixes SVG.PointArray.size() which created NaN when the bbox of the point array had zero height/width * update changelog
* Added clone method to SVG.Array/PointArray/PathArray (#590)Ulrich-Matthias Schäfer2017-02-201-2/+2
|
* Sort out leftovers from the old fx moduleRémi Tétreault2017-02-161-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* handle leading and trailing spacesdotnetCarpenter2016-10-201-1/+1
|
* replace call to filter function with better regexdotnetCarpenter2016-10-201-1/+1
|
* hotfix (#529)Ulrich-Matthias Schäfer2016-10-201-1/+1
|
* sorry the last commit was nonsens. This one is proper tested.dotnetCarpenter2016-10-121-2/+2
|
* changing implementation according to review by @FuzzymadotnetCarpenter2016-10-121-15/+7
|
* fixes #525 by accepting/parsing coordianate strings where x and y is ↵dotnetCarpenter2016-10-121-14/+26
| | | | seperated by comma and or by space - we count the shape coordinates until (and including) the maximum even number
* tab to space, block comments to line commentsUlrich-Matthias Schäfer2015-11-061-9/+9
|
* remove useless executable permissionPeter Dave Hello2015-06-231-0/+0
|
* Added new SVG.Line class and working on SVG.Matrixwout2014-06-281-0/+9
|
* Added SVG.Circle, removed structural internal referenceswout2014-06-251-2/+2
|
* Bumped to version 1.0.0-rc.7wout2014-06-111-1/+1
| | | | Look at change log for full overview of changes.
* Completely reworked `SVG.Text`, `SVG.TSpan` and `SVG.PathArray` and bumped ↵wout2014-02-141-2/+0
| | | | to 1.0.0-rc.5
* Added SVG.PathArray, updated data() and bumped to v1.0rc1wout2014-01-291-23/+3
|
* Added get to SVG.Set, bumped to v0.37wout2014-01-261-0/+106