src/main.js
function (viewName, customParams, callback) {
      [viewName, customParams, callback] = doArgs(arguments, ['string', ['object', {}], 'function']);

      doRequest({
        urlPattern: [VIEW_INFO, viewName],
        bodyProp: 'jobs'
      }, customParams, callback);
    }
function (viewName, customParams, callback) {
      [viewName, customParams, callback] = doArgs(arguments, ['string', ['object', {}], 'function']);

      doRequest({
        urlPattern: [VIEW_INFO, viewName],
        bodyProp: 'jobs'
      }, customParams, callback);
    }
function ( viewName , customParams , callback ) { [ viewName , customParams , callback ] = doArgs ( arguments , [ 'string' , [ 'object' , { } ] , 'function' ] ) ; doRequest ( { urlPattern : [ VIEW_INFO , viewName ] , bodyProp : 'jobs' } , customParams , callback ) ; }
Return a list of objet literals containing the name and color of all the jobs for a view on the Jenkins server

@param {string} viewName
@param {object|undefined} customParams is optional
@param {function} callback
Return a list of objet literals containing the name and color of all the jobs for a view on the Jenkins server