Index: doc/API_web.md ================================================================== --- doc/API_web.md +++ doc/API_web.md @@ -38,11 +38,11 @@ ### Detecting if the Grammalecte API is here Every call to the Grammalecte API will be done via an object called `oGrammalecteAPI`. - if (typeof(oGrammalecteAPI) === "object") { + if (typeof(oGrammalecteAPI) === "object" && oGrammalecteAPI !== null) { ... } ### Version of the Grammalecte API