From 7462a58903838a785c641902a8e3cb72af934404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Fri, 4 Mar 2011 01:22:08 +0000 Subject: [PATCH] Change missleading variable name. --- src/util/PaperScript.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/util/PaperScript.js b/src/util/PaperScript.js index a33960bc..bac204bf 100644 --- a/src/util/PaperScript.js +++ b/src/util/PaperScript.js @@ -40,14 +40,14 @@ var PaperScript = new function() { '-': 'negate' }; - function $sign(operator, exp) { + function $sign(operator, value) { var handler = signs[operator]; - if (exp && exp[handler]) { - return exp[handler](); + if (value && value[handler]) { + return value[handler](); } switch (operator) { - case '+': return +exp; - case '-': return -exp; + case '+': return +value; + case '-': return -value; default: throw new Error('Implement Sign Operator: ' + operator); }