Move shortFloat() into svgedit.units. Add test file for svgedit.units.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1966 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -186,7 +186,7 @@ svgedit.utilities.convertToXMLReferences = function(input) {
|
||||
return output;
|
||||
};
|
||||
|
||||
// Function: text2xml
|
||||
// Function: svgedit.utilities.text2xml
|
||||
// Cross-browser compatible method of converting a string to an XML tree
|
||||
// found this function here: http://groups.google.com/group/jquery-dev/browse_thread/thread/c6d11387c580a77f
|
||||
svgedit.utilities.text2xml = function(sXML) {
|
||||
@@ -209,7 +209,7 @@ svgedit.utilities.text2xml = function(sXML) {
|
||||
return out;
|
||||
};
|
||||
|
||||
// Function: bboxToObj
|
||||
// Function: svgedit.utilities.bboxToObj
|
||||
// Converts a SVGRect into an object.
|
||||
//
|
||||
// Parameters:
|
||||
@@ -226,7 +226,7 @@ svgedit.utilities.bboxToObj = function(bbox) {
|
||||
}
|
||||
};
|
||||
|
||||
// Function: walkTree
|
||||
// Function: svgedit.utilities.walkTree
|
||||
// Walks the tree and executes the callback on each element in a top-down fashion
|
||||
//
|
||||
// Parameters:
|
||||
@@ -242,7 +242,7 @@ svgedit.utilities.walkTree = function(elem, cbFn){
|
||||
}
|
||||
};
|
||||
|
||||
// Function: walkTreePost
|
||||
// Function: svgedit.utilities.walkTreePost
|
||||
// Walks the tree and executes the callback on each element in a depth-first fashion
|
||||
// TODO: FIXME: Shouldn't this be calling walkTreePost?
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user