diff --git a/src/current/compiler/js-calc.xsl b/src/current/compiler/js-calc.xsl index 9195b2dc..438ea57d 100644 --- a/src/current/compiler/js-calc.xsl +++ b/src/current/compiler/js-calc.xsl @@ -2,7 +2,7 @@ - - + - + - - + - - - + + - yes - - + yes + + - - - ( function() { var result = - + + ( function() { var result = + - + - - ; - /*!+*/( debug[' - - '] || ( debug[' - - '] = [] ) ).push( result );/*!-*/ + + ; + /*!+*/( debug[' + + '] || ( debug[' + + '] = [] ) ).push( result );/*!-*/ - return result; - } )() - - + return result; + } )() + + - + - - ( + @@ -162,53 +161,53 @@ @return generated summation/product anonymous self-executing function --> - + - - ( function() { + - - - + - - - - + - - + - + - - * - + - + - + - - - + - - + - - - - + + + - || 0 - + || 0 + - - - - + + + - || 0 - + || 0 + - - - + - + - - consts[' - - '] - + + consts[' + + '] + - - - - - + + + + + - - - consts[' - - '] - + + consts[' + + '] + - - - + + + - || 0 - + || 0 + - - + - - + + + + - - - + + - - - args[' - - '] - + + args[' + + '] + - - + - + + + - - - + + + - || 0 - + || 0 + - - - + - - + - + - + - - - + - + - - + - - - + - - ( function() { + - - + - + - - + - + - - [ - - - , - + - - - + - - ( - - [0]||0) - + - - - .slice(1) - + - - ( - - .length || 0 ) - + - + - - + - - (function(){ - var result = - - ; + - - ( function () { - throw Error( "Unknown calculation: - - " ); - } )() - + - +