c-smile / sciter-sdk

Sciter is an embeddable HTML/CSS/scripting engine

Home Page:http://sciter.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[samples] log+debugging/log.htm syntax error

pavelc7 opened this issue · comments

Error: bad syntax : Expecting ',' or ';', found '<identifier>'
line:  debug info: "info sample, object and array:" obj arr; 
here:__________________________________________________^
file:(file://sciter-sdk/samples/log%2Bdebugging/log.htm(12))
	at loadFile (this://app/default.tis(23))
	at  (this://app/default.tis(163))

sciter-sdk\samples\log+debugging\log.htm
should be

debug info: "info sample, object and array:", obj, arr;
debug alert: "alert sample, integer and DOM element:", v, self;
debug warning: "warning sample, namespace:", self.ns;
debug custom: "custom label, custom", self.ns;
debug foo: "custom label, foo";
debug bar: "custom label, bar", obj;

My pardon, forgot to update that sample, fixed by : 97ce515