summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dist/svg.js15
-rw-r--r--src/helpers.js13
2 files changed, 1 insertions, 27 deletions
diff --git a/dist/svg.js b/dist/svg.js
index 12cc1ee..3892c64 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@mick-wout.com>
* @license MIT
*
-* BUILT: Tue Feb 28 2017 18:53:10 GMT+0100 (Mitteleuropäische Zeit)
+* BUILT: Fri Mar 03 2017 17:54:03 GMT+0100 (Mitteleuropäische Zeit)
*/;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
@@ -5325,19 +5325,6 @@ function stringToMatrix(source) {
)
}
-// Calculate position according to from and to
-function at(o, pos) {
- // number recalculation (don't bother converting to SVG.Number for performance reasons)
- return typeof o.from == 'number' ?
- o.from + (o.to - o.from) * pos :
-
- // instance recalculation
- o instanceof SVG.Color || o instanceof SVG.Number || o instanceof SVG.Matrix ? o.at(pos) :
-
- // for all other values wait until pos has reached 1 to return the final value
- pos < 1 ? o.from : o.to
-}
-
// PathArray Helpers
function arrayToString(a) {
for (var i = 0, il = a.length, s = ''; i < il; i++) {
diff --git a/src/helpers.js b/src/helpers.js
index 2a52a1b..7233755 100644
--- a/src/helpers.js
+++ b/src/helpers.js
@@ -107,19 +107,6 @@ function stringToMatrix(source) {
)
}
-// Calculate position according to from and to
-function at(o, pos) {
- // number recalculation (don't bother converting to SVG.Number for performance reasons)
- return typeof o.from == 'number' ?
- o.from + (o.to - o.from) * pos :
-
- // instance recalculation
- o instanceof SVG.Color || o instanceof SVG.Number || o instanceof SVG.Matrix ? o.at(pos) :
-
- // for all other values wait until pos has reached 1 to return the final value
- pos < 1 ? o.from : o.to
-}
-
// PathArray Helpers
function arrayToString(a) {
for (var i = 0, il = a.length, s = ''; i < il; i++) {