Commit Graph

33 Commits

Author SHA1 Message Date
Anton Lavrenov
a486fbffbd disable validations in minified version 2018-08-21 16:05:45 +07:00
Anton Lavrenov
738cc8b79c Automatic validations for many attributes. close #436 2018-08-21 15:56:04 +07:00
Anton Lavrenov
093d501cf6 new transformer style functions 2018-08-10 10:22:08 +07:00
Anton Lavrenov
a91e00fc05 Merge branch 'add-stroke-gradient' of https://github.com/MaxGraey/konva into MaxGraey-add-stroke-gradient 2018-03-10 09:49:43 +07:00
Anton Lavrenov
2011553d1f resizer rotation snaps 2018-01-02 14:46:32 +07:00
Anton Lavrenov
7b6d97aaa5 build and apply prettier 2017-07-28 18:40:07 +02:00
Anton Lavrenov
59cc7b99f2 setup prettier and make all code better 2017-02-24 09:15:33 -05:00
lavrton
bd910a8bc7 linting fixes 2015-10-22 07:32:07 +02:00
Anton Lavrenov
d455d0f994 mark some methods as deprecated 2015-05-07 08:48:15 +07:00
Anton Lavrenov
2908fa975b migrate to eslint 2015-05-04 16:02:16 +07:00
Jovination
607ef1837b Renaming 2015-01-27 00:07:51 -07:00
Лаврёнов Антон
22da5892e2 resolve lint errors + some refactoring 😯 2014-08-19 19:27:46 +08:00
Лаврёнов Антон
eb16e29197 only lint errors fixes 2014-02-27 08:49:18 +08:00
Eric Rowell
d7796a1955 added new after func for factor setters. The filters can now hook into after, rather than a validator 2014-01-20 22:47:47 -08:00
Eric Rowell
da28418239 introduced new alpha component for colors. fixed #755. Created new validators namespace for getter setter validator functions 2014-01-20 11:26:01 -08:00
Eric Rowell
99e7ad4bf0 added back compat Factor method and plugged in the methods that changed with the 5.0.0 release 2014-01-10 22:58:55 -08:00
Eric Rowell
9e574fd241 added support for Factor getter setter validators 2014-01-10 01:29:41 -08:00
Eric Rowell
13b91d0db7 removed color getter and setters from Factory. color components are now red, green, and blue, not r, g, b 2014-01-09 00:29:38 -08:00
Eric Rowell
749c8731db removed filter getter setter from factory. Filter methods now use addGetterSetter like all of the other classes 2014-01-08 23:40:47 -08:00
Eric Rowell
f73baa1a4e cutting down Factory by creating a addComponentsGetterSetter method which all component attrs will use 2014-01-08 23:13:50 -08:00
Eric Rowell
66b65f1c19 removed radian angle attrs. All rotations are set in degrees now 2014-01-06 21:37:46 -08:00
Eric Rowell
12e7b06978 first pass at integrating filters into new caching mechanism. added group filter test. Removed blurX and blurY filters because I don't think they'll be needed in their current state. Commented out half filter blur test because it's not a common use case. other filter tests have been disabled for now. Working on enabling them with future commits 2013-12-31 13:04:05 -08:00
Eric Rowell
fe7b4daebc factor methods now also build overloaded attr functions. i.e. instead of setScaleX(5), you can use scaleX(5). Instead of getScaleX(), you can use scaleX() 2013-12-13 11:02:07 -08:00
Eric Rowell
e946f473db finally got around to adding return docs for every node method 2013-12-09 10:33:31 -08:00
Eric Rowell
f217200ed7 reverted factory methods but removed data type processing 2013-12-04 09:10:24 -08:00
Eric Rowell
5d5a378375 more tweaks 2013-12-04 08:56:21 -08:00
Eric Rowell
c98a9d76a9 all shape and plugin tests are now passing again 2013-12-04 08:37:28 -08:00
Eric Rowell
533699b731 component attrs are now the source of truth again 2013-12-04 08:15:04 -08:00
Eric Rowell
fb25ba7c59 Factory getters now require function defaults which return an object literal because objects can be modified by reference 2013-12-03 22:54:16 -08:00
Eric Rowell
8c8cf0492c shape tests are now passing. all factor setters now return this 2013-12-02 22:16:58 -08:00
Eric Rowell
722ae82f21 Rect tests are now passing 2013-12-01 23:47:24 -08:00
Eric Rowell
a7740ba96e copying over chunks of code from arrays branch 2013-12-01 23:08:15 -08:00
Eric Rowell
64d6c79a6a moved factory logic out of Node.js to Factory.js 2013-08-10 21:11:34 -07:00