Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 16, 2015
Commits on Feb 7, 2015
  1. Add Node.js support

    authored
Commits on Jan 25, 2015
Commits on Jan 13, 2014
  1. A new `drawPath()` method and other improvements

    authored
    * Added a new `drawPath()` method for creating complex paths much more easily. See the docs for details.
    * Rewrote the inheritance model to make jCanvas layers much smaller and more memory-efficient. You can enable this new model by setting
    `$.jCanvas.future.inheritance` to `true`. This will become the default inheritance model in a future release.
    * Deprecated the poorly-named `jCanvas()` method. Its behavior is ambiguous and is incompatible with the new inheritance model. The method will be removed in a future release.
    * Fixed a bug which prevented RGBA values from being animatable
    * Added many more unit tests.
Commits on Jan 1, 2014
  1. Added a multitude of new features and fixes

    authored
    * Added a feature called event hooks; event hooks allow you to bind callbacks to a canvas when an event fires for any layer on that canvas. See the docs for details.
    * Added an official jCanvas plugins repository. See the new jCanvas Plugins page for details.
    * Added new `dx` and `dy` event properties for draggable layers, which can be used to detect the change in position when dragging.
    * Added the following events: `add`, `remove`, `change`, `move`, `animatestart`, `animate`, `animateend`, `stop`, and `delay`. See the docs for details.
    * The `load` callback for images is now an official jCanvas event and therefore can be used with event hooks.
    * Added a new `type` property for the plugin API to indicate the type of drawing being drawn.
    * Added a new drawing type `circle` which is simply an alias to the type `arc`.
    * Added a new function, `setGlobalProps()`, to the plugin API
    * Removed the `fireDragGroupEvents` property; events no longer fire for layers that are dragged indirectly.
    * Fixed a bug affecting layers with `disableEvents` set to `true`.
    * Fixed a bug affecting the `step` callback for the `animateLayer()` method.
    * Fixed a bug in which `mouseout` and `mouseover` events would repeatedly (and unintentionally) fire when dragging a layer.
    * The `dragstart`, `drag`, and `dragstop` now fire before other mouse events (if their respective callbacks are defined, of course).
Commits on Nov 17, 2013
Commits on Nov 10, 2013
Commits on Aug 15, 2013
  1. A layer can now have multiple groups via a new 'groups' property

    authored
    - Fixed a regression which caused events to fire recursively in some
    cases
Commits on Aug 13, 2013
  1. A new drawSlice() method, and other changes

    authored
    – Added a new drawSlice() method for creating pie charts more easily.
    The usage for this method can be found in the documentation under the
    'Slices' section.
    – Fixed bug affecting the position of drawings drawn on multiple
    canvases.
    – Improved the efficiency of layer animation when multiple properties
    are being animated
    – The deprecated font property has been removed. Please use the
    fontStyle, fontSize, and fontFamily properties instead
    – Fixed a bug which affected the dragging of a layer if a mouseup
    callback was present
Commits on Jul 3, 2013
  1. Fixed a bug that prevented dragstart(), drag() and dragstop() events …

    authored
    …from firing on layers apart of a draggable group
    
    - Also updated links in the README
Commits on May 19, 2013
  1. The stroke of a shape now responds to events

    authored
    - This change fixes issue #96.
    - Also added a new shadowStroke property to satisfy issue #94
Commits on May 2, 2013
Commits on Apr 26, 2013
  1. Added a new dragcancel event for when the user mouses off the canvas …

    authored
    …while dragging
    
    - The jCanvas parameters object is now the second argument to the
    draw() method's fn callback
    - Fixed issues #91 and #89
    - Fixed an issue in which drawing a single image layer with drawLayer()
    would unintentionally draw all layers
Commits on Jan 8, 2013
Commits on Sep 14, 2012
  1. Fixed a bug which prevented custom jCanvas methods from being added a…

    authored
    …s layers
    
    Also added a disableDrag property for easier toggling of draggable
    states.
Something went wrong with that request. Please try again.