Commit graph

19 commits

Author SHA1 Message Date
Andrea Bogazzi
4c2f91d8ce
improve fabric.Pattern toSvg (#5164)
* fixed pattern toSVG

* better patterns

* fixed pattern and added tests

* better src
2018-08-11 20:43:49 +02:00
Andrea Bogazzi
6309387665
Add CrossOrigin managment to fabric.Pattern (#4618)
* added crossOrigin

* adding tests

* added some basic test
2018-01-18 08:39:02 +09:00
Jeremy Shipman
0c936ed6bc Fix testem runner, and further improvements (#4593)
* Switched qunit dependency to npm

* Fixed testem not working

* Switched test.js build to use node-qunit.
As stated in the QUnit docs: The qunit package prior to 2.4.1 is an alternative CLI that is now published as node-qunit.

* Introduced qunit 2.4.1, with an npm script for running node tests

* Switched testem page fixture to use qunit package instead of qunitjs

* Configured testem to run in headless mode, and use new npm node test script for "Node" launcher configuration.
This means that individual tests will show up in testem output via the the `tap` test protocol.

* Made canvas_static 'toDataURL cropping' test asynchronous.

* Configured QUnit testTimeout and enabled 'noglobals' config

* Updated .travis.yml config to do cross-browser/env testing via Testem

* Specify qunit binary directly to fix confict with binary from node-qunit

* Avoid test hanging by aborting the animated cursor

* Firefox test fix, and enabled in Testem config
2017-12-31 09:51:07 +01:00
Andrea Bogazzi
7eea5228b9
removed specific node code (#4470)
* removed node code

* fixed UTs
2017-11-19 20:00:01 +01:00
Andrea Bogazzi
c03111824c Update deps (#4315)
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
d106051554 Remove accessors (#4065) 2017-07-03 17:02:44 +02:00
Andrea Bogazzi
553669c938 Extend test coverage (#3999)
* extended test coverage
* new file
* fixed lint
2017-06-12 11:13:55 +02:00
Andrea Bogazzi
b979bd5861 switch to canvas prebuilt (#3757)
* swithced to canvas prebuilt

* try 2

* remove toolchanin needed to setup canvas
2017-03-14 12:37:07 +01:00
Andrea Bogazzi
5ed0b83d45 fix tests (#3602) 2017-01-03 01:08:14 +01:00
Andrea Bogazzi
edb90be547 WIP Patternload (#3598)
* make pattern load async
* made all object loadable asyncronously ( filters )
2016-12-30 22:41:16 +01:00
Andrea Bogazzi
3c0fe81b77 be more strict on when not to re render (#3594)
* add more check to first return false

* fix ;

* fix ; in tests

* fix test
2016-12-28 13:22:23 +01:00
Andrea Bogazzi
8a6b17cac6 add custom props to pattern and gradient (#3477) 2016-12-01 23:39:25 +01:00
Andrea Bogazzi
08f60adbea switch to eslint (#3229)
* switch to eslint 2.x
* fix src
* fix tests
2016-09-10 15:14:23 +02:00
kangax
316861cd57 Fix pattern test 2015-05-18 12:11:56 -04:00
kangax
94f7035624 Lint unit tests and fix errors/warnings 2015-04-23 11:47:35 +02:00
kangax
67b54a44a5 Fix pattern toSVG 2013-07-22 22:00:03 +02:00
kangax
221146997c Fix pattern initialization from function string. Closes #442. Version 1.1.18 2013-06-02 22:07:16 +02:00
kangax
22de40dc54 Add support for pattern offsets (via fabric.Pattern#offsetX/offsetY). Version 1.1.8 2013-04-22 09:16:58 -04:00
kangax
107dcfcbd6 Add fabric.Pattern tests 2013-02-03 17:01:01 +01:00