There's also a really nice pre-existing library for this: PathJS.
https://github.com/mtrpcic/pathjs
Been using this for a while, with a lot of success.
https://github.com/mtrpcic/pathjs
Been using this for a while, with a lot of success.
No comments yet.