aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Change the SVG.FX attribute spd to _speedRémi Tétreault2016-10-171-14/+14
| | | | | This change is to follow the convention already put forward by the _target attribute.
* Add speed to SVG.Element and also add documentation to speedRémi Tétreault2016-10-171-2/+16
|
* Make speed(0) pause the animationRémi Tétreault2016-10-171-0/+2
|
* Make SVG.FX.speed act more like others animations librariesRémi Tétreault2016-10-161-11/+15
| | | | | | For example, a call .speed(2) would make the animation 2 times faster. If you then call .speed(4), this would make the animation 4 times faster. And a call .speed(1) would make it go back to normal speed.
* Make SVG.FX.loop modify the last situation instead of the current oneRémi Tétreault2016-10-151-3/+5
|
* all tests pass - All your base are belong to usdotnetCarpenter2016-10-121-0/+2
|\
| * Removed wrong tests in sugar.js, fixed remaining tests. Made fill and stroke ↵Ulrich-Matthias Schäfer2016-10-121-0/+2
| | | | | | | | a nop when no argument given
* | 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
* Speed improvements on parent elementwout2016-08-048-26/+42
|
* fixed #514 and #5162.3.3Ulrich-Matthias Schäfer2016-08-022-11/+2
| | | | | - removed `SVG.Text.clone()` which is inherited by `SVG.Element.clone()` - make element visible when call bbox on a clone
* add error callback on image loadingAlexandre Peyron2016-07-121-0/+11
|
* Merge pull request #481 from mkorganashvili/patch-1Wout2016-06-121-0/+5
|\ | | | | Fix groups animation
| * Fix groups animationmkorganashvili2016-04-251-0/+5
| |
* | Changed to document.documentElement.containssnydesc2016-05-251-1/+1
| | | | | | | | | | document.contains will not work in IE. document.body.contains will work in IE, Chrome, and Firefox however will not work on SVG only documents. document.documentElement.contains appears to work for all variations.
* | Changed document.contains to document.body.containssnydesc2016-05-241-1/+1
| | | | | | The document object in IE does not have the contains function as a method. This can cause a stack overflow as you can get stuck in an endless try catch loop. document.body.contains will work in IE, Firefox, and Chrome and will resolve this issue.
* | fixed line constructor which doesn't work with Array as input (#487)Ulrich-Matthias Schäfer2016-05-161-1/+1
| | | | | | | | added spec for mentioned issue
* | fixed bbox when element is not in the dom (#480), added parameter to `clone`Ulrich-Matthias Schäfer2016-05-132-12/+17
| |
* | fixed string parsing in viewbox (#483), specs `SVG.ViewBox`Ulrich-Matthias Schäfer2016-05-133-30/+36
| |
* | fixed bug in `parse()` from `SVG.PathArray` which does not correctly handled ↵Ulrich-Matthias Schäfer2016-05-051-1/+1
|/ | | | `S` and `T` (#485)
* fixed bug in `add()` and `SVG.Doc().create()`Ulrich-Matthias Schäfer2016-04-152-7/+8
|
* fixed bug where `stop(true)` throws an error when element is not animated (#475)Ulrich-Matthias Schäfer2016-04-091-1/+1
|
* fixed old target referencesUlrich-Matthias Schäfer2016-04-092-4/+4
|
* fixed `SVG.morph()` (#473)Ulrich-Matthias Schäfer2016-04-031-4/+6
|
* doublecheck SVG.parser, use svg element which is not in the dom (#471)Ulrich-Matthias Schäfer2016-04-023-4/+14
|
* fix parser error (#471) and small bug in SVG.Color with new fxUlrich-Matthias Schäfer2016-04-012-14/+12
|
* readme update, clean upUlrich-Matthias Schäfer2016-03-291-31/+33
|
* tidy upUlrich-Matthias Schäfer2016-03-291-14/+0
|
* fix finishing up correctly with even loops, readmeUlrich-Matthias Schäfer2016-03-291-17/+15
|
* discard totalProgress for nowUlrich-Matthias Schäfer2016-03-281-17/+0
|
* revert multiple breaking changes introduced by the last commitsUlrich-Matthias Schäfer2016-03-282-91/+126
|
* fixed bug where loop wasnt correctly reversed if specifiedUlrich-Matthias Schäfer2016-03-251-6/+6
|
* Merge branch '3.0.0' introducing several changes:Ulrich-Matthias Schäfer2016-03-2411-469/+1079
|\ | | | | | | | | | | | | | | | | - textpath now is a parent element, the lines method of text will return the tspans inside the textpath (#450) - fx module rewritten to support animation chaining and several other stuff (see docs when commited) - fixed absolute transformation animations (not perfect but better) - fixed event listeners which didnt work correctly when identic funtions used - added `element.is()` which helps to check for the object instance faster (instanceof check) - added more fx specs
| * fix lines function for textpath and make textpath a parent elementUlrich-Matthias Schäfer2016-03-232-2/+4
| |
| * Implementation new fx moduleUlrich-Matthias Schäfer2016-03-239-140/+1297
| |
| * make the animate method compatible to v2 againUlrich-Matthias Schäfer2016-02-151-6/+10
| |
| * Merge branch 'master' into 3.0.0Ulrich-Matthias Schäfer2016-02-109-21/+94
| |\ | |/ |/|
| * Merge branch 'master' into 3.0.0Ulrich-Matthias Schäfer2015-12-231-0/+3
| |\
| * | relative movements, delayed (queued) start of animationUlrich-Matthias Schäfer2015-12-232-13/+20
| | |
| * | transformation with correct rotation, fixed Color animationUlrich-Matthias Schäfer2015-12-212-42/+78
| | |
| * | new specs, reverse, initAnimation, after, during, commentsUlrich-Matthias Schäfer2015-12-201-300/+264
| | |
| * | added all fx methods, styles and attrsUlrich-Matthias Schäfer2015-12-162-75/+340
| | |
| * | added once and duringUlrich-Matthias Schäfer2015-12-131-14/+53
| | |
| * | new fx with enqueue method and dedicated SVG.SituationUlrich-Matthias Schäfer2015-12-131-0/+424
| | |
* | | Merge pull request #447 from assembler/patch-1Ulrich-Matthias Schäfer2016-02-101-1/+1
|\ \ \ | | | | | | | | Uncaught TypeError: Cannot read property 'node' of null
| * | | Update element.jsMilovan Zogovic2016-01-221-1/+1
| | | | | | | | | | | | I've encountered situation where SVG.adopt (line 176) returns null, which leads to `Uncaught TypeError: Cannot read property 'node' of null`. Checking whether parent exists fixes it.
* | | | fixed unit unit regex and renamed it to numberAndUnit, added specs (fix #443)Ulrich-Matthias Schäfer2016-01-233-9/+9
|/ / /
* | | fixed `svgjs:data` attribute which was not set properly in all browsers (#428)Ulrich-Matthias Schäfer2016-01-213-2/+5
| | | | | | | | | | | | | | | added specs for `writeDataToDom()` and `setData()` added toJSON in SVG.Number
* | | Fix regex for isNumbersnowyplover2016-01-171-2/+2
| | | | | | | | | Description of necessary functionality for a regex that matches Javascript numbers found in Eloquent Javascript, (Ch 9, last exercise). See: http://eloquentjavascript.net/09_regexp.html#h_izldJoT3uv