Somtime Codemirror hint doesn't work

Hi

Sometime Codemirror auto-completion hint doesn’t work. I found that the problem is in Xquery-Hint.js which is addon of Codemirror.
When I call CodeMirror.xqueryHint function of Xquery-Hint.js, variable Xquery is undefined(Somtime).It seems like loading issue.

Need help

Then you should probably take this up with the maintainer of Xquery-Hint.js