JS Error: LiveApi is not defined

    Mar 04 2014 | 5:20 pm
    I am trying to learn something on programming Max4Live in Javascript. First step would be, according to the docs (https://cycling74.com/docs/max6/dynamic/c74_docs.html#jsliveapi): myvar = new LiveApi();
    This gives me an error:
    js: FSM-Looper.js: Javascript ReferenceError: LiveApi is not defined, line 12
    Is there anything I forgot to include/set up/place in path? The call above is inside a function, init, which I call after receiving a bang from the left outlet of a live.thisdevice object, as suggested in the docs.
    I work on Live 9.1.1 and Max 6.1.3 on OS X.
    Anyone ever experienced such a problem? Has anyone a working example to this most basic API task?
    Thanks for your time, regards,

    • Mar 04 2014 | 6:19 pm
      try LiveAPI - it is case sensitive...
    • Mar 04 2014 | 11:53 pm
      Ouch. Facepalm. For not copypasting. Thanks...