Eric Rowell
c8a6371ab5
Merge branch 'matrix'
2012-03-23 23:46:13 -07:00
Eric Rowell
68f9688575
finished matrix integration. the stage, layers, groups, and nodes can be transformed in anyway, and drag and drop on any of these nodes now works great regardless of parent node transforms
2012-03-23 23:39:54 -07:00
ericdrowell
fa76527c55
Merge pull request #7 from jfollas/master
...
Stage modifications
2012-03-22 23:21:51 -07:00
Eric Rowell
7ced50f694
changed Stage constructor to accept a config object. Now that Stage is a node, every KineticJS object requires the same config object which bubbles up through the parent classes
2012-03-22 23:17:52 -07:00
Eric Rowell
0da8adfb6e
added Matrix.js and started integration
2012-03-22 13:47:37 -07:00
Jason Follas
ef2f658b48
code formatting: tabs to spaces
2012-03-22 09:15:31 -04:00
Jason Follas
9d44834148
- Added check for child.isListening in _traverseChildren() to handle case when a node overlaps another and you don't want to handle events for the topmost node.
...
- Added support for event.offsetX/offsetY in _setMousePosition to work around a Kinetic bug observed in Windows 8/Internet Explorer 10
- Added MIME type support to toDataURL() so that additional image formats can be generated in accordance to the spec
2012-03-22 08:59:29 -04:00
Eric Rowell
afad713df3
code cleanup #2
2012-03-21 00:56:29 -07:00
Eric Rowell
d10721d85a
code cleanup
2012-03-21 00:52:45 -07:00
Eric Rowell
8aa5fcf560
fixed clear transition bug
2012-03-20 22:46:54 -07:00
Eric Rowell
bceedc08f6
updated docs
2012-03-19 22:44:42 -07:00
Eric Rowell
2977d8f1d8
implemented ease-in, ease-out, and ease-in-out transitions
2012-03-19 22:36:30 -07:00
Eric Rowell
8f0aebad11
prepared transition logic for new easing functions
2012-03-19 21:09:13 -07:00
Eric Rowell
588b65a849
fixed transition bug related to frame.timeDiff
2012-03-19 19:39:41 -07:00
Eric Rowell
70fe63b2b6
cleaned up animation and transition interaction
2012-03-18 19:50:20 -07:00
Eric Rowell
84e7e71461
improved mouseover and mouseout event handling by ignoring parent handlers if mouse moves from one child to another
2012-03-18 11:24:57 -07:00
Eric Rowell
9a61e149df
fixed mousemove bug for overlapped shapes in different groups
2012-03-17 19:48:54 -07:00
Eric Rowell
9e28a9010a
forgot to add production build
2012-03-17 14:36:38 -07:00
Eric Rowell
fafb5db93f
added support for event bubble cancelation
2012-03-17 14:35:34 -07:00
Eric Rowell
a9601fadc2
moved DOM creation logic from Stage constructor to a private method
2012-03-17 10:48:25 -07:00
Eric Rowell
ed35c6dbba
added scrollbar support for container DOM, structured the unittests a bit better, and did some minor refactoring
2012-03-17 10:28:25 -07:00
Eric Rowell
039c9059a0
rewrote drag and drop logic. removed draggableX and draggableY. added new dragConstraint property and new dragBounds property
2012-03-13 22:11:22 -07:00
Eric Rowell
a0c385261e
finished transition code, complete with callback option whenever a transition is completed. All numeric Node properties can be transitioned. Will add easing function options later
2012-03-13 21:16:25 -07:00
Eric Rowell
1ac858dea5
added foundation for transition support, and added linear transitions. easeIn, easeOut, and easeInOut transitions will come later.
...
git status
2012-03-12 22:41:09 -07:00
Eric Rowell
0375fdc400
checking in unitTests html file with correct kinetic version
2012-03-11 23:03:09 -07:00
Eric Rowell
68db5bf7c1
minor code cleanup discovered by Wappworks
2012-03-11 23:01:23 -07:00
Eric Rowell
24158587e6
updated .gitignore
2012-03-11 16:11:59 -07:00
Eric Rowell
2379646cee
updated documentation
2012-03-11 16:07:14 -07:00
Eric Rowell
6093c7ca73
updated shape.getContext() documentation
2012-03-11 16:05:47 -07:00
Eric Rowell
5aee56ab5e
added fix for IE9
2012-03-11 15:57:57 -07:00
Eric Rowell
1f0585549b
updated README
2012-03-10 21:29:11 -08:00
Eric Rowell
f8d1745e24
updated regex in build file to correctly remove old dist files
2012-03-10 21:20:31 -08:00
Eric Rowell
ed347c3641
changes geometries directory to shapes
2012-03-10 20:22:27 -08:00
Eric Rowell
cbab484117
missed a bug fix with last push
2012-03-10 20:15:15 -08:00
Eric Rowell
07860a7dbd
bug fixes and enhancements. also updated the README
2012-03-10 16:52:16 -08:00
Eric Rowell
0f49f12024
removing dist files (these shouldn't be checked in)
2012-03-10 10:45:25 -08:00
Eric Rowell
54d8006362
adding unit tests and functional tests. Need to add more tests when possible.
2012-03-08 00:05:00 -08:00
ericdrowell
3525aecf6b
Merge pull request #2 from magicienap/master
...
Improving building tasks
2012-03-07 23:20:00 -08:00
Antoine Proulx
7981df8a61
Include the version of the library in the file name when building it.
2012-03-07 14:25:45 -05:00
Antoine Proulx
a6948ec413
Ability to add the date and the version number from the command line.
2012-03-07 09:55:07 -05:00
Antoine Proulx
7a4bf6ec26
All comments are now removed from the production file.
2012-03-07 09:49:32 -05:00
Antoine Proulx
286b726823
Change the Rakefile for a Thorfile.
2012-03-07 08:43:02 -05:00
Eric Rowell
3c140ca762
Merged ac80261
...
removed lib directory and used src instead. Moved license.js outside of the source directory. Created a geometries directory inside src. Also had problems getting the Ruby rake file to build a minified file with uglifiy, so after a bit of searching I found that many people suggested to include the json-pure gem, so I added it to the Gemfile
2012-03-06 23:53:48 -08:00
Eric Rowell
5679cbfade
Merge commit 'c919807'
2012-03-06 22:18:28 -08:00
Eric Rowell
e8c2c27dd5
removed concatenated source file
2012-03-06 21:55:08 -08:00
Eric Rowell
2346f2b10a
checking in split files in preparation for new Ruby build
2012-03-06 21:45:48 -08:00
Antoine Proulx
ac802613a8
Create a build script to concatenate and (optionaly) minify the files in the lib directory.
2012-03-05 20:59:41 -05:00
Antoine Proulx
2a1acc3477
Split the main file into multiple files (one per class).
2012-03-05 19:01:34 -05:00
Antoine Proulx
c919807ebd
Improved the README.
2012-03-05 18:53:18 -05:00
Eric Rowell
fb12908408
KineticJS core
2012-03-04 00:17:19 -08:00