Commits on Jul 22, 2016
  1. 2.8.5

    committed Jul 22, 2016
  2. Reset all canvas properties to default before drawing each object

    This fixes a problem where properties were inherited from parent
    object to all its children unless the child specified a counter
    committed Jul 22, 2016
Commits on Apr 22, 2016
  1. 2.8.4

    committed Apr 22, 2016
  2. Fix cross-origin issue with adding DOM event listeners

    The previous method of checking for cross-origin was insufficient
    (#124). A better way is to
    try performing the action and just ignore the exception if thrown.
    committed Apr 22, 2016
Commits on Dec 28, 2015
  1. Add release script and npm support

    The goal was to add npm support, and to make the release process
    less problematic, a script has been added for updating of version
    numbers etc.
    committed Dec 28, 2015
Commits on Dec 6, 2015
  1. 2.8.3

    committed Dec 6, 2015
  2. image: Update loading to check the provided image's load status

    If the provided image element is already loaded, don't make a
    duplicate of it to load it again. This helps for cases where an
    asset manager is used for example.
    committed Dec 6, 2015
  3. sprite: Fix loading of images

    This was previously fixed for the image display object, but not for
    sprites. This commit also checks if the provided image element is
    already loaded, in which case it doesn't create a new image to load.
    That helps if using an asset manager, as it then makes no sense at
    all to wait for images to load after the asset manager has loaded
    Earlier fix for image display object:
    committed Dec 6, 2015
  4. sprite: Make sure it's only redrawn on load if previously drawn

    This was done for the image object here (but sprite was forgotten):
    committed Dec 6, 2015
Commits on Dec 3, 2015
  1. 2.8.2

    committed Dec 3, 2015
  2. displayobject: Fix for cloning objects with `image` set to DOM node

    Cloning an image object with the `image` property set to a DOM node
    could result in looping over the DOM node properties as well,
    sometimes triggering too long call stacks.
    committed Dec 3, 2015
  3. 2.8.1

    The version number was wrong in the previous releases
    committed Aug 25, 2015
  4. 2.8.0

    committed Aug 24, 2015
Commits on Aug 24, 2015
  1. @nestorrente

    Added clipping feature to display objects Arc, Ellipse, Image, Polygo…

    …n, Rectangle and Sprite
    nestorrente committed Aug 24, 2015
Commits on Aug 23, 2015
  1. build: Split into two modes, dev and release

    As the built files for release are now checked in to the repo, the
    default build command should not build files to that folder. It will
    now build files to build/dev/ (which is now in .gitignore). When
    building for a release, it will place the files in build/dist/.
    This will put files in build/dev/
    node build/build.js
    This will put files in build/dist/
    node build/build.js release
    committed Aug 23, 2015
Commits on Aug 19, 2015
  1. build: Fix incorrect commas

    committed Aug 19, 2015
  2. Update version to 2.7.5

    committed Aug 19, 2015
  3. Add the correct support for custom easing functions

    Custom easing functions were supported in the old deprecated syntax
    for animations, but was somehow forgotten for the new syntax. The
    docs specify that custom functions should work, and since it's so
    easy to add support for such a nice feature, I'm adding it now.
    committed Aug 19, 2015
Commits on May 29, 2015
  1. Update version to 2.7.4

    committed May 29, 2015
  2. Merge pull request #109 from cdanea/FIX-build-with-node-gt-0_10_22

    Fix build script paths
    committed May 29, 2015
  3. Merge pull request #108 from cdanea/FIX-ease-in-out-bounce

    Fix infinite recursion
    committed May 29, 2015
  4. @cdanea

    Use the "path" module from node to fix locations

     * Fix "src" directory path to be normalized relative to the build directory
     * Fix "config" file path to be inside the build directory
    cdanea committed May 29, 2015
  5. @cdanea
Commits on Jul 16, 2014
  1. Update version to 2.7.3

    committed Jul 16, 2014
  2. Merge pull request #99 from haszari/develop

    allow floating-point values for stroke width
    committed Jul 16, 2014
Commits on Jul 15, 2014
  1. @haszari
Commits on Jun 17, 2014
  1. Update version to 2.7.2

    committed Jun 18, 2014
  2. image: Load image resources correctly (#97 and #92)

    Loading an image and getting the dimensions can be done in a
    better way. Adding the image as a child node to the canvas element
    will make IE get the image dimensions as 0, probably because
    content of the canvas element is seen as fallback content.
    committed Jun 18, 2014
Commits on May 4, 2014
  1. Update version to 2.7.1

    committed May 4, 2014
  2. text: Keep a cache of loaded fonts to reduce redraws (fix #96)

    If a font has been loaded by a different object before, it's not
    necessary to load the font again.
    committed May 4, 2014