@@ -335,28 +335,28 @@ global.$QUERY = function(schema, options, callback, controller) {
335335 schema = parseSchema ( schema ) ;
336336 var o = framework_builders . getschema ( schema [ 0 ] , schema [ 1 ] ) ;
337337 o && o . query ( options , callback , controller ) ;
338- return o ? true : false ;
338+ return ! ! o ;
339339} ;
340340
341341global . $GET = function ( schema , options , callback , controller ) {
342342 schema = parseSchema ( schema ) ;
343343 var o = framework_builders . getschema ( schema [ 0 ] , schema [ 1 ] ) ;
344344 o && o . get ( options , callback , controller ) ;
345- return o ? true : false ;
345+ return ! ! o ;
346346} ;
347347
348348global . $WORKFLOW = function ( schema , name , options , callback , controller ) {
349349 schema = parseSchema ( schema ) ;
350350 var o = framework_builders . getschema ( schema [ 0 ] , schema [ 1 ] ) ;
351351 o && o . workflow2 ( name , options , callback , controller ) ;
352- return o ? true : false ;
352+ return ! ! o ;
353353} ;
354354
355355global . $TRANSFORM = function ( schema , name , options , callback , controller ) {
356356 schema = parseSchema ( schema ) ;
357357 var o = framework_builders . getschema ( schema [ 0 ] , schema [ 1 ] ) ;
358358 o && o . transform2 ( name , options , callback , controller ) ;
359- return o ? true : false ;
359+ return ! ! o ;
360360} ;
361361
362362global . $ASYNC = function ( schema , callback , index , controller ) {
@@ -376,7 +376,7 @@ global.$OPERATION = function(schema, name, options, callback, controller) {
376376 schema = parseSchema ( schema ) ;
377377 var o = framework_builders . getschema ( schema [ 0 ] , schema [ 1 ] ) ;
378378 o && o . operation2 ( name , options , callback , controller ) ;
379- return o ? true : false ;
379+ return ! ! o ;
380380} ;
381381
382382global . DB = global . DATABASE = function ( ) {
@@ -476,7 +476,7 @@ global.SUCCESS = function(success, value) {
476476 } else if ( success == null )
477477 success = true ;
478478
479- SUCCESSHELPER . success = success ? true : false ;
479+ SUCCESSHELPER . success = ! ! success ;
480480 SUCCESSHELPER . value = value == null ? undefined : value ;
481481 SUCCESSHELPER . error = err ? err : undefined ;
482482 return SUCCESSHELPER ;
@@ -5928,7 +5928,7 @@ F.isProcessed = function(filename) {
59285928F . isProcessing = function ( filename ) {
59295929
59305930 if ( ! filename . url )
5931- return F . temporary . processing [ filename ] ? true : false ;
5931+ return ! ! F . temporary . processing [ filename ] ;
59325932
59335933 var name = filename . url ;
59345934 var index = name . indexOf ( '?' ) ;
@@ -5937,7 +5937,7 @@ F.isProcessing = function(filename) {
59375937 name = name . substring ( 0 , index ) ;
59385938
59395939 filename = U . combine ( F . config [ 'directory-public' ] , $decodeURIComponent ( name ) ) ;
5940- return F . temporary . processing [ filename ] ? true : false ;
5940+ return ! ! F . temporary . processing [ filename ] ;
59415941} ;
59425942
59435943/**
0 commit comments