Re: Pengine url

Anne Ogborn <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
I'd say do 

var pengine = new Pengine({
    oncreate: handleCreate,
    onsuccess: handleSuccess,
    onfailure: handleFailure,
    onstop, handleStop,
    server: 'http://mygame.org',
    src: ...
});


while the handlers struct is useful, it's one more bit of ceremony for the common case.
And I'm aggressive about making sure the common case is easy. People doing complex stuff
can live with complexity.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.