Skip to content

Instantly share code, notes, and snippets.


Pixievolt No. 1 PixievoltNo1

View GitHub Profile
View Pixievolt No. 1 Logo Creator's
View Vex contributions.markdown
  • PR #233: Fixed an animation bug affecting IE 11
  • PR #238: Added Autoprefixer to the Gruntfile and cut down CSS file sizes (after getting the go-ahead in issue #236)
  • PR #241: Documentation improvements
View gist:431fe9b15fe66bcd1f9c
// Shortcut functions makeSVGElem & makeUseElem for making SVG elements
var svgNS = "";
function makeSVGElem(name) { return document.createElementNS(svgNS, name); }
function makeUseElem(url) {
var elem = makeSVGElem("use");
elem.setAttributeNS("", "href", url);
return elem;
// Workaround for jQuery bug #11166 to allow setting viewBox