Convert tabs to 4 spaces

This commit is contained in:
Justin Ridgewell 2012-09-15 19:59:53 -04:00
parent 1efd36c179
commit 24f0535bb6

View file

@ -6,49 +6,49 @@
var ImportSVG = function() var ImportSVG = function()
{ {
//initialize //initialize
function initialize() function initialize()
{ {
}; };
/** /**
* *
* Takes the svg dom obj and parses the data * Takes the svg dom obj and parses the data
* to create a layer with groups (if needed) with * to create a layer with groups (if needed) with
* items inside. Should support nested groups. * items inside. Should support nested groups.
* *
* takes in a svg object (xml dom) * takes in a svg object (xml dom)
* returns Paper.js Layer * returns Paper.js Layer
*/ */
this.importSVG = function(svg) this.importSVG = function(svg)
{ {
return layer; return layer;
}; };
/** /**
* Creates a Paper.js Group by parsing * Creates a Paper.js Group by parsing
* a specific svg g node * a specific svg g node
* *
* takes in a svg object (xml dom) * takes in a svg object (xml dom)
* returns Paper.js Group * returns Paper.js Group
*/ */
function importGroup(svg) function importGroup(svg)
{ {
return group; return group;
}; };
/** /**
* Creates a Paper.js Path by parsing * Creates a Paper.js Path by parsing
* a specific svg node (rect, path, circle, polygon, etc) * a specific svg node (rect, path, circle, polygon, etc)
* and creating the right path object based on the svg type. * and creating the right path object based on the svg type.
* *
* takes in a svg object (xml dom) * takes in a svg object (xml dom)
* returns Paper.js Group * returns Paper.js Group
*/ */
function importPath(svg) function importPath(svg)
{ {
return path; return path;
}; };
initialize(); // calls the init function after class is loaded initialize(); // calls the init function after class is loaded