Skip to content

Instantly share code, notes, and snippets.

@gwa
gwa / 0_reuse_code.js
Created October 17, 2013 11:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/*
* Layers to SVG - layers_export.jsx
* @version 0.1.1
* Improved PageItem selection, which fixed centering
*
* @author Anton Ball
* @author Timothy Groves
* Exports all layers to SVG Files
* I didn't want every layer in the SVG file so it first creates a new document
* and one by one copies each layer to that new document while exporting it out