Syntax error in API documentation


#1

I don’t know if this is the right place, but I found a syntax error in one of the example in the API documentation: https://apidoc.c9.io/c9v3/#!/api/ui.toolbar

var tb = new ui.toolbar();
tb.appendChild(new ui.button({ caption: "Preview" }) ); // <-- here
tb.appendChild(new ui.button({ caption: "Save" }) );  // <-- and here
plugin.addElement(tb);

#2

Thanks for bringing this to our attention! We’ll take a look.


#3

And it’s live! Thanks for the callout :slight_smile: