From 52809c5148015fb96ea0d11b0c4c460a412b3b15 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 18 Jul 2017 09:58:19 -0400 Subject: [PATCH] src/current/compiler/js-calc.xsl: Strip xsl ns prefix * src/current/compiler/js-calc.xsl: Strip xsl namespace prefix. Update copyright year. Set XSLT version to 2.0. --- src/current/compiler/js-calc.xsl | 1099 +++++++++++++++--------------- 1 file changed, 549 insertions(+), 550 deletions(-) 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: - - " ); - } )() - + - +