wout/svg.js — pull request #189 by anvaka (2014-05-26 05:36:55+00:00)
Title: Fixed SVG is not defined error

First of all thank you for a nice library!

I tried to use it with [browserify](https://github.com/substack/node-browserify) but when you require commonjs module `this` is not a `window`. Thus `this.SVG !== SVG` and code fails.

This PR fixes the problem and it works in the browser as commonjs module.