Opened 10 years ago

Closed 10 years ago

#13898 closed defect (fixed)

[patch]No Module Object Returned in dojox/highlight.js

Reported by: Ming Zhe Huang Owned by: Adam Peller
Priority: high Milestone: 1.7
Component: Dojox Version: 1.7.0b1
Keywords: Cc: dante
Blocked By: Blocking:


According to the following documents(though only for 1.6), dojox/highlight.js should return a module object. However, if you look into that file, you'll notice that there's no object returned. Probably it's a regression from AMD refactoring?

[Note] In above documents, by "dojo.require('dojox.highlight')", you should be able to call dojox.highlight.processString(). I assume "require('dojox/highlight')" should provide the equivalence.

Attachments (1)

2011-09-13-highlight.patch (296 bytes) - added by Ming Zhe Huang 10 years ago.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Ming Zhe Huang

Attachment: 2011-09-13-highlight.patch added

proposed patch

comment:1 Changed 10 years ago by Adam Peller

Cc: dante added
Milestone: tbd1.7
Summary: No Module Object Returned in dojox/highlight.js[patch]No Module Object Returned in dojox/highlight.js

comment:2 Changed 10 years ago by Adam Peller

Resolution: fixed
Status: newclosed

In [26568]:

Fixes #13898 reference _base from top-level module \!strict

Note: See TracTickets for help on using tickets.