Jump to content

JS error when trying to use TUniSyntaxEditEx with custom files


VolkovVitalD

Recommended Posts

An error occurs when try to use UniSyntaxEditEx with JS files associated with require.js.
JS files are in ServerModule's Custom Files list.
Here is a test app project and error text, which can be seen in browser's console:

 

Uncaught Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch
    makeError http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
    v http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
    o http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
    setTimeout handler*req.nextTick< http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
    o http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
    requirejs http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
    <anonymous> http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
    <anonymous> http://localhost:8077/uni-1.95.0.1580/requirejs/require.js:5
      
require.js:5:1067

 

Test_UniGui_SynEditExJSError.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...