browserify it
This commit is contained in:
parent
21d7cd7746
commit
9e087493ed
|
@ -353,12 +353,14 @@ window.schema = (function (modules) {
|
|||
{
|
||||
'toInt': function(value)
|
||||
{
|
||||
return parseInt(value, 10);
|
||||
var num = parseInt(value, 10);
|
||||
return _.isNaN(num) ? null : num;
|
||||
},
|
||||
|
||||
'toFloat': function(value)
|
||||
{
|
||||
return parseFloat(value, 10);
|
||||
var num = parseFloat(value, 10);
|
||||
return _.isNaN(num) ? null : num;
|
||||
},
|
||||
|
||||
'toString': function(value)
|
||||
|
|
Reference in New Issue