summaryrefslogtreecommitdiffstats
path: root/gulpfile.js
Commit message (Collapse)AuthorAgeFilesLines
* testing saucelabsdotnetCarpenter2018-11-121-145/+0
|
* fix testsUlrich-Matthias Schäfer2018-10-181-1/+2
|
* add babel, satisfy linter, build distUlrich-Matthias Schäfer2018-10-171-9/+10
|
* Allowed the origin to stay fixed as we animate transformsSaivan2018-06-261-1/+1
| | | | | | | | | | | This commit start to remove the expensive bbox calculation by assuming that the origin stays at a fixed point during an animation. This is a good assumption as transforms don't change the bbox of the element. Changes ======= - Refactor the Element.transform function - Make a getOrigin function to call the bbox only one time
* implemented EventTarget + runner does not loop forever anymoreUlrich-Matthias Schäfer2018-05-291-1/+1
|
* go through specs and make fixes where neededUlrich-Matthias Schäfer2018-05-241-0/+1
|
* The timeline is now decoupled from the real timeSaivan2018-05-151-0/+7
| | | | | | | | | | | | | | | This commit allows the timeline to exist independently of the actual time. This will allow it to be used to seek through an animation with relative ease. We also made some architectural changes to the timeline to support this. Changes ======= - Refactored the runner into its own file without exposing it to the user (changed the gulpfile) - The timeline no longer depends on the current time - The user can supply absolute times to queue events - Some more methods have been integrated into the timeline
* Another collaboration session with @FuzzymaSaivan2018-04-301-2/+2
|
* Initial planning for the Timeline ModuleSaivan2018-04-181-0/+2
| | | | | | This commit just includes a few plans and a massive derrangement of the fx module before it is to be refactored into the Timeline module. The basic methods are included, but everything is broken
* Fixed recommendations by @Fuzzyma regarding transformsSaivan2018-03-051-8/+11
| | | | | | | | | | | | This commit fixes a number of issues with transformations: - Removed move/dmove/etc... on groups - Sugar was being passed origin instead of ox, oy - Updated the changelog - Removed parseMatrix in favor of new SVG.Matrix() - .matrix is the getter for a matrix, not .transform - added a [02:24:41] Using gulpfile ~/Desktop/svg/svg.js/gulpfile.js [02:24:41] Starting 'lint'... [02:24:43] Finished 'lint' after 2.32 s directive
* Fixed some tests involving transforms and elementsSaivan2018-03-021-1/+0
|\
| * merge SVG.Doc and SVG.Nested. Add isRoot() method, update doc methods to ↵Ulrich-Matthias Schäfer2018-03-011-1/+0
| | | | | | | | decide between doc and nested
* | Made developing a little more enjoyableSaivan2018-02-271-2/+3
|/ | | | | | | This commit adds playgrounds and a build:dev mode. Now you can call npm run build:dev to make the linter warn you about errors without breaking. Also, we now have playgrounds, where you can use a built version of svg.js to run your own tests.
* So the standard linter is operational and our code is compliantSaivan2018-02-271-6/+6
| | | | | | This commit completes the compliance of our code with the standard linter. It is now building correctly and error messages are displayed when somebody tries to build bad code!
* Actually added the linter to gulp and fixed most errorsSaivan2018-02-271-0/+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
* The first half of the library complies with Standard lintingSaivan2018-02-271-86/+88
| | | | | | This commit reformats the code so that it complies with the standard linting style. Its currently a work in progress, but it is meant to pave the way for linting in the build process
* Lots of breaking changes. Read below! (#646, #716)Ulrich-Matthias Schäfer2017-07-251-0/+2
| | | | | | | | | | - 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
* changed `style()` to `css()`Ulrich-Matthias Schäfer2017-04-221-1/+1
| | | | | it now accepts array as input and returns object when no argument given (#517) also removed sub-pixel offset fix
* unified all boxes (#634)Ulrich-Matthias Schäfer2017-03-161-2/+1
| | | | | | | | unified all boxes - SVG.Box for everything - bbox, rbox and viewbox as methods - boxes can be created with string, array, object, list... - added helper to simplify boxes code
* update specs, fix mistakes, include flatten.js to distUlrich-Matthias Schäfer2017-03-101-1/+1
|
* Added SVG.Symbol so SVG.adopt can pick up symbols correctlyUlrich-Matthias Schäfer2017-02-241-0/+1
|
* Implement a more basic morph method for SVG.PathArrayRémi Tétreault2017-01-141-2/+1
| | | | | | The method expect the paths to use the exact same commands. It will not attempt to modify them if they do not. Any more complex algorithm shall be provided as a plugin instead in order to keep the size of the library down.
* Implement the morph method of SVG.PathArrayRémi Tétreault2017-01-141-0/+1
| | | | | Also add methods to SVG.Point that allow to perform operations between two points.
* Wrapping up for 2.3.7 releasedotnetCarpenter2017-01-141-20/+1
|
* added code coveragedotnetCarpenter2016-11-131-2/+2
|
* reinstate semi colon in bannersdotnetCarpenter2016-10-111-2/+2
|
* using the dist version of svg.js for testing because the code is not meant ↵dotnetCarpenter2016-10-041-2/+54
| | | | to be executed individually (syntax errors)
* try to run test with individual files instead of the concated version so it ↵dotnetCarpenter2016-10-041-54/+2
| | | | is easier to track down the source file
* fixed gulp clean task not returning a PromisedotnetCarpenter2016-10-041-10/+5
|
* update dependenciesdotnetCarpenter2016-10-041-1/+0
|
* fixed string parsing in viewbox (#483), specs `SVG.ViewBox`Ulrich-Matthias Schäfer2016-05-131-1/+1
|
* added SVG.Point class as wrapper for SVGPoint, added `el.point()` method ↵Ulrich-Matthias Schäfer2016-01-111-0/+1
| | | | (#403 / #437)
* UMD-Wrappper with possibility to add custom window object (#352)Ulrich-Matthias Schäfer2015-10-251-6/+2
|
* added ungroup/flatten (#238), toParent and toDocUlrich-Matthias Schäfer2015-10-111-0/+1
|
* fixes pattern animation (#385)Ulrich-Matthias Schäfer2015-10-101-0/+2
|
* use gulp-chmod to set correct file permissionPeter Dave Hello2015-06-231-0/+3
|
* Merged all changes and fixes from SVG 1.1 into this branchUlrich-Matthias Schäfer2015-06-111-5/+5
|
* Secure wrapperwout2014-08-191-2/+2
|
* Typo'swout2014-08-191-1/+1
|
* Fixes #3 Support AMD, CommonJS (Browserify), globals (default method) using ↵Alex Ewerlof2014-08-031-8/+10
| | | | UMD wrapper
* Added SVG.Bare for creation of non-described elementswout2014-08-011-3/+1
|
* Reworked sub-pixel offset fixwout2014-07-311-1/+0
|
* Added more control to SVG.Matrixwout2014-07-281-1/+2
|
* Various small fixeswout2014-07-251-1/+0
|
* Moved SVG.invent to main svg.js filewout2014-07-231-1/+0
|
* Fix in rboxwout2014-07-201-36/+32
|
* Converted to spaceswout2014-07-131-44/+44
|
* Added documentation builderwout2014-07-131-0/+27
|
* Switched to gulp for buildingwout2014-07-131-0/+126