src/show/InventoryShowController.js
/* convert from camelCase to lower case text*/
convert from camelCase to lower case text
convert from camelCase to lower case text
function convert(str) {
       var  positions = '';
       for(var i=0; i<(str).length; i++){
           if(str[i].match(/[A-Z]/) !== null){
             positions += " ";
             positions += str[i].toLowerCase();
        } else {
            positions += str[i];
        }
      }
        return positions;
       }
function convert ( str ) { var positions = '' ; for ( var i = 0 ; i < ( str ) . length ; i ++ ) { if ( str [ i ] . match ( / [A-Z] / ) !== null ) { positions += " " ; positions += str [ i ] . toLowerCase ( ) ; } else { positions += str [ i ] ; } } return positions ; }
convert from camelCase to lower case text
convert from camelCase to lower case text