diff --git a/gulp/jsdoc b/gulp/jsdoc index b6f36edb..59faf79f 160000 --- a/gulp/jsdoc +++ b/gulp/jsdoc @@ -1 +1 @@ -Subproject commit b6f36edba33690cee908cadcb24515ec5be97b1d +Subproject commit 59faf79f13765dfd1fd8ec302d5627bbe548b2fa diff --git a/src/path/PathItem.js b/src/path/PathItem.js index 84d7721d..f9b0a6ab 100644 --- a/src/path/PathItem.js +++ b/src/path/PathItem.js @@ -38,26 +38,27 @@ var PathItem = Item.extend(/** @lends PathItem# */{ * sub-paths. * * @name PathItem.create + * @function * @param {String} pathData the SVG path-data to parse * @return {Path|CompoundPath} the newly created path item */ - /** * Creates a path item from the given segments array, determining if the * array describes a plain path or a compound-path with multiple * sub-paths. * * @name PathItem.create + * @function * @param {Number[][]} segments the segments array to parse * @return {Path|CompoundPath} the newly created path item */ - /** * Creates a path item from the given object, determining if the * contained information describes a plain path or a compound-path with * multiple sub-paths. * * @name PathItem.create + * @function * @param {Object} object an object containing the properties describing * the item to be created * @return {Path|CompoundPath} the newly created path item diff --git a/src/util/Numerical.js b/src/util/Numerical.js index fa239e06..bad172e5 100644 --- a/src/util/Numerical.js +++ b/src/util/Numerical.js @@ -73,6 +73,7 @@ var Numerical = new function() { } function getDiscriminant(a, b, c) { + // d = b^2 - a * c computed accurately enough by a tricky scheme. // Ported from @hkrish's polysolve.c function split(v) { var x = v * 134217729,