Html5 manual is wrong

Hi defold team!

I read defold manual. however, I can’t make sense in Tokens section of html5 manual (http://www.defold.com/manuals/html5/).

I think each examples is not encoded in the section.

For example, in DEFOLD_DISPLAY_WIDTH section, just show following:

function doSomething() {
var x = ;
// ...
}

I guess that correct version is:

function doSomething() {
var x = {{DEFOLD_DISPLAY_WIDTH}};
// ...
}

pls check the manual. it’s hard to understand for me because I cant speak English very well.

Thanks.

3 Likes

Ouch! Something has happened to that manual. It’s broken. Thanks for the report!

3 Likes

Thanks for the report! Also, FYI, it’s possible to report documentation issues directly on the documentation page. Look at the bottom right on the page for the “Spotted an error?” button.

3 Likes

I see, thanks!

1 Like