You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, you're right, I made a mistake :), it should be $wnd.ace.require.... I fixed this bug in local but totally forgot to send a pull request about it (I added other features that require polishing). This issue is also present in AceEditor::setModeByName.
Actually, if I'm not wrong, this error occurs only if you use other library that redefine require (I had the same issue with dojo).
Hello,
I have been experimenting a bit with the AceRange object, and tried to create a AceRange object via a JSNI function:
This throw the exception: "TypeError: $wnd.require is not a function"
I noticed that AceRange.java:47 has the following line:
Should not that rather be this: ?
Doing the following in my on JNDI function appears to work:
Or is it just a matter of user error on my behalf? :)
The text was updated successfully, but these errors were encountered: