Only document olx properties marked as part of the API
And mark all olx properties with @api. The stability level will be used to determine what can change between minor releases.
This commit is contained in:
@@ -28,6 +28,10 @@ exports.handlers = {
|
|||||||
newDoclet: function(e) {
|
newDoclet: function(e) {
|
||||||
var doclet = e.doclet;
|
var doclet = e.doclet;
|
||||||
if (doclet.meta.filename == 'olx.js') {
|
if (doclet.meta.filename == 'olx.js') {
|
||||||
|
// do nothing if not marked @api
|
||||||
|
if (!doclet.stability) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (doclet.kind == 'typedef') {
|
if (doclet.kind == 'typedef') {
|
||||||
lastOlxTypedef = doclet;
|
lastOlxTypedef = doclet;
|
||||||
olxTypes[doclet.longname] = [];
|
olxTypes[doclet.longname] = [];
|
||||||
|
|||||||
579
externs/olx.js
579
externs/olx.js
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user