filter = function(docs) {
  return _.reject(docs, function(doc) {
    return doc.fileName == "promise" && doc.name &&
        doc.name.substr(0,7) != "promise";
  });
}
Remove docs of private variables from selenium's promise.js file.

@param {Array.<Object>} docs The jsdoc list.