Commit graph

17 commits

Author SHA1 Message Date
Asturur
e4a42e054f support svg crossorigin on images 2017-03-25 18:45:54 +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
Andrea Bogazzi
98f2d1b3dd ignore svg namespace (#3081)
* ignore svg namespace
2016-07-03 23:52:25 +02:00
Andrea Bogazzi
a70321f9a8 Update elements_parser.js 2014-09-21 01:15:39 +02:00
kangax
a3d40878d6 Update JSCS to 1.6, fix errors, hook up travis 2014-08-30 13:18:43 +04:00
Andrea Bogazzi
1e49598693 Update elements_parser.js
Fixing spaces
2014-08-16 16:05:16 +02:00
Andrea Bogazzi
77911424ce Update elements_parser.js
Changed Resolvegradient function for fill and stroke
2014-08-16 08:11:50 +02:00
Andrea Bogazzi
70b879b8b9 Update elements_parser.js
Added mono-object resolveGradient function. to be called befor reviver function.
2014-08-13 11:46:39 +02:00
asturur
848005c61b Update elements_parser.js 2014-07-18 15:13:19 +02:00
asturur
347debb677 Update elements_parser.js
slicing one by one, doesn't make the array bigger. so the index value is still effective.
If you slice by 0 the array grows up and so index loose meaning.
2014-07-18 07:19:37 +02:00
Michael Sievers
3faf5f0bae Added missing semicolon 2014-02-18 13:44:02 +01:00
Michael Sievers
bd2a235b12 Move ElementsParser instance methods to prototype 2014-02-18 13:44:01 +01:00
Michael Sievers
d44bde4605 Added semicolon to satisfy jshint 2014-02-18 13:43:20 +01:00
Michael Sievers
179ad93dc5 Make ElementsParser a constructor function and create instances in fabric.parseElements 2014-02-18 13:43:19 +01:00
kangax
d2f6a9033e Add JSCS validation & change bunch of things for conformance. Down to 333 failures from ~1000. 2014-02-16 16:36:14 -05:00
kangax
dbd9193703 Debounce element parsing. Thanks @biovisualize. Closes #1052 2013-12-14 12:19:54 +01:00
kangax
6cb941c116 Extract elements parsing into a separate object (ElementsParser) 2013-11-04 17:12:05 +01:00