Remove unused domains var

master
Mike Gerwitz 2021-01-27 16:50:46 -05:00
parent e0907c6db2
commit f14417f32a
1 changed files with 0 additions and 24 deletions

View File

@ -1654,30 +1654,6 @@
<template name="compiler:static">
<text>
<![CDATA[
var domains = {
'integer': function( value )
{
return ( value == +value );
},
'float': function( value )
{
return ( value == +value );
},
'boolean': function( value )
{
return ( ( +value === 1 ) || ( +value === 0 ) );
},
'string': function( value )
{
// well, everything is a string
return true;
}
};
function precision(p, x)
{
if (x % 1 === 0) return x;