bundles/org.eclipse.orion.client.ui/web/gcli/gcli/cli.js
function isSimple(typed) {
   for (var i = 0; i < typed.length; i++) {
     var c = typed.charAt(i);
     if (c === ' ' || c === '"' || c === '\'' ||
         c === '{' || c === '}' || c === '\\') {
       return false;
     }
   }
   return true;
}
function isSimple(typed) {
   for (var i = 0; i < typed.length; i++) {
     var c = typed.charAt(i);
     if (c === ' ' || c === '"' || c === '\'' ||
         c === '{' || c === '}' || c === '\\') {
       return false;
     }
   }
   return true;
}
function isSimple ( typed ) { for ( var i = 0 ; i < typed . length ; i ++ ) { var c = typed . charAt ( i ) ; if ( c === ' ' || c === '"' || c === '\'' || c === '{' || c === '}' || c === '\\' ) { return false ; } } return true ; }
If the input has no spaces, quotes, braces or escapes,
we can take the fast track.
If the input has no spaces quotes braces or escapes we can take the fast track .