Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added id attribute to all objects. #288

Closed
wants to merge 1 commit into from
+18,633 −18,561

2 participants

@bcoste

Added id attribute to all objects.

@bcoste bcoste Added id to all objects
Added id attribute to all objects.
a6e98b5
@kangax
Owner

Thanks! Looks good. We also need to increment those ids when creating new objects. Similar to the way it's done in Raphael.js

@kangax
Owner

On a second thought, the SVG-like id should probably be different from numeric UID. SVG-like id can be anything like "foo", "bar123", or "baz_xx_222". UID, on the other hand, should be strictly numeric and incremented for each object.

@kangax
Owner

Will do a clean pull request.

@kangax kangax closed this
@bcoste

We really needs SVG ids, could you please create the new pull request ?
I don't use UID, I don't understand why my simple solution hasn't been accepted ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 15, 2012
  1. @bcoste

    Added id to all objects

    bcoste authored
    Added id attribute to all objects.
Something went wrong with that request. Please try again.