parameters: (files=0)
docstring: Checks js files using gjslint for compliance with Google coding style
docstring_summary: Checks js files using gjslint for compliance with Google coding style
docstring_tokens: Checks js files using gjslint for compliance with Google coding style
function: def gjslint(files=0):
      """
      Checks js files using gjslint for compliance with Google coding style
      """
  
      files = files.split(" ") if not files == 0 else list_js_files()
      for file in files:
          with settings(hide("warnings", "running"), warn_only=True):
              output = local("gjslint --strict --custom_jsdoc_tags function,namespace,constructs,options,augments,static,extend %s" % file, True)
              offset = output.find("\nSome of the errors")
              if offset == -1:
                  print fabric.colors.green("OK ", True) + file
              else:
                  print fabric.colors.red("KO ", True) + file
                  print output[output.find("\n"):offset]
function_tokens: def gjslint ( files = 0 ) : files = files . split ( " " ) if not files == 0 else list_js_files ( ) for file in files : with settings ( hide ( "warnings" , "running" ) , warn_only = True ) : output = local ( "gjslint --strict --custom_jsdoc_tags function,namespace,constructs,options,augments,static,extend %s" % file , True ) offset = output . find ( "\nSome of the errors" ) if offset == - 1 : print fabric . colors . green ( "OK " , True ) + file else : print fabric . colors . red ( "KO " , True ) + file print output [ output . find ( "\n" ) : offset ]