function addonsManager_getViews(aSpec) {
    var spec = aSpec || { };
    var attribute = spec.attribute;
    var value = spec.value;

    return this.getElements({type: "views", subtype: attribute, value: value});
  }
function addonsManager_getViews(aSpec) {
    var spec = aSpec || { };
    var attribute = spec.attribute;
    var value = spec.value;

    return this.getElements({type: "views", subtype: attribute, value: value});
  }
function addonsManager_getViews ( aSpec ) { var spec = aSpec || { } ; var attribute = spec . attribute ; var value = spec . value ; return this . getElements ( { type : "views" , subtype : attribute , value : value } ) ; }
///////////////////////////// View section ///////////////////////////// 
Returns the views which match the filter criteria

@param {object} aSpec
Information for getting the views matched by the criteria
Elements: attribute - DOM attribute of the node
[optional - default: ""]
value     - Value of the DOM attribute
[optional - default: ""]

@returns Filtered list of views
@type {array of ElemBase}
///////////////////////////// View section ///////////////////////////// Returns the views which match the filter criteria
Get all the views