Commit graph

2180 commits

Author SHA1 Message Date
Max Kaplan
6f3f1ff7c9 Fix loadFromJSON 404s breaking fabric (Image)
Prevent image 404s in Images from loadFromJSON from breaking everything
trying to get attributes of a source which is null, while passing it
upwards to allow dealing with images which failed to load outside of
Fabric.JS Issue #1079
2014-03-07 01:12:50 -05:00
Max Kaplan
f2943ef2bb Fix loadFromJSON 404s breaking fabric (Pattern)
Prevent image 404s in patterns from loadFromJSON from breaking
everything trying to get attributes of a source which is null, while
passing it upwards to allow dealing with images which failed to load
outside of Fabric.JS
2014-03-07 00:19:35 -05:00
kangax
eb919f9a04 Fix ellipse borders. Closes #1099 Thanks @xnramx 2014-03-06 19:47:55 -05:00
kangax
0e7ac02c73 Update README 2014-02-28 15:32:36 -05:00
kangax
086fee13f9 Update README 2014-02-28 15:29:31 -05:00
kangax
42e263b3f2 Update README 2014-02-28 15:29:01 -05:00
kangax
676562b171 Update README 2014-02-28 15:28:29 -05:00
Juriy Zaytsev
f5bbefbfb7 Update README.md 2014-02-28 13:26:35 -05:00
kangax
c70b14b99f Build distribution 2014-02-27 15:01:31 -05:00
kangax
2acdc7e85b Fix few bracketless statements. Down to 257 failures on JSCS. 2014-02-27 15:00:42 -05:00
kangax
eb75f4b491 Restore _currentTransform.target after toJSON. Closes #1159 2014-02-27 15:00:42 -05:00
Juriy Zaytsev
e15047016d Merge pull request #1203 from Webbgaraget/allow-decimals-in-rgba-colors
Allow decimals in rgba colors.
2014-02-27 12:41:13 -05:00
Anders Lisspers
f5ba67541e Adds test case for rgba percentages with decimals 2014-02-27 10:19:42 +01:00
Anders Lisspers
11a21f10ee Allows rgba() colors to have decimals, i.e. rgba(45.2342%, 88.2342%, 83.5%) 2014-02-27 09:17:59 +01:00
Juriy Zaytsev
242aaa347f Merge pull request #1199 from nevernormal1/fix_last_pointer
Initialize variable with the correct name that is actually used
2014-02-26 10:48:52 -05:00
Jeff Talbot
918d4dd5de Initialize variable with the correct name that is actually used 2014-02-24 10:47:22 -06:00
Juriy Zaytsev
53aa98ea2d Merge pull request #1194 from ZDroid/simplify-license
Simplify `license` property
2014-02-23 19:13:46 -05:00
Zlatan Vasović
06c9c63633 Simplify license property
npm allows specifying MIT license just by its name. Look at http://spdx.org/licenses/.

We don't need `licenses` array because there is just one license.
2014-02-23 22:53:55 +01:00
kangax
a8c7cd0b32 Build distribution 2014-02-23 14:41:06 -05:00
Juriy Zaytsev
2c47ada022 Merge pull request #1190 from XhmikosR/master
Minor tweaks
2014-02-23 14:37:03 -05:00
XhmikosR
2c5f91ba70 Clean up .jshintrc. 2014-02-23 20:26:02 +02:00
XhmikosR
412dac459a Update .gitignore. 2014-02-23 20:25:52 +02:00
XhmikosR
67e9c8829c Remove extra commas. 2014-02-23 20:25:23 +02:00
XhmikosR
33655ff33d Losslessly compress screenshot.png.
Before: 40381 bytes
After:  20734 bytes
2014-02-23 20:16:20 +02:00
XhmikosR
dcb76e9e4a Switch to david-dm.org for the dependency badges. 2014-02-23 20:16:20 +02:00
XhmikosR
16e6fdafcd Update json2.js to the latest version. 2014-02-23 20:16:20 +02:00
XhmikosR
d34f980f37 Normalize package.json. 2014-02-23 20:16:20 +02:00
XhmikosR
d8b1eca014 Trim trailing spaces. 2014-02-23 20:16:20 +02:00
kangax
1d4356008a Revert scroll detection change. 2014-02-21 15:04:42 -05:00
kangax
52a60769ee Update docs, specifying ms. 2014-02-20 13:59:27 -05:00
kangax
6a456f39f0 Update README 2014-02-19 15:37:32 -05:00
kangax
bcc90f1120 Build distribution 2014-02-19 15:26:14 -05:00
kangax
8e75acf836 Expose cursorMap. Closes #1179 2014-02-19 15:26:07 -05:00
kangax
c85a33752b Fix iText stealing focus 2014-02-19 15:25:50 -05:00
kangax
0dbf03835d Fix typo, build dist 2014-02-19 14:59:50 -05:00
Juriy Zaytsev
8f2d29f5d6 Merge pull request #1172 from kreig/patch-1
fabric.Object.fillRule support using globalCompositeOperation
2014-02-19 14:44:05 -05:00
Juriy Zaytsev
b490476c8a Merge pull request #1178 from shanawho/patch-1
removed extraneous scripts property
2014-02-19 07:18:56 -05:00
shanawho
9b2e9136ef removed extraneous scripts property
removed scripts because it causes fabric to be loaded twice
2014-02-19 00:21:00 -08:00
kangax
0eed619d98 Make isContainedWithinObject check for equality as well. Closes #1177 2014-02-18 17:07:37 -05:00
kangax
6798111f03 Build distribution 2014-02-18 15:14:06 -05:00
kangax
32368ecbad Fix require typo 2014-02-18 14:53:59 -05:00
Juriy Zaytsev
7ded46ce7f Merge pull request #1168 from aspectit/css-scale-new
Fix mouse handling if the canvas has been scaled via CSS.
2014-02-18 11:58:29 -05:00
Juriy Zaytsev
44c279a154 Merge pull request #1136 from msievers/parser_race_condition
Fix race condition in fabric.parseElements by converting ElementsParser to a constructor function
2014-02-18 10:34:48 -05: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
Michael Elsdörfer
50107b06d7 Handle missing canvas bounds information correctly.
Fixes test failure.
2014-02-18 00:17:31 +01:00
Michael Elsdörfer
dc6e53288c Also consider CSS transforms when handling mouse. 2014-02-18 00:17:31 +01:00
Michael Elsdörfer
d5f948877c Make mouse handling respect CSS scaling.
Also DRYs getPointer() calls in many places.

See #868.
2014-02-18 00:17:31 +01:00