Ticket #285 (closed defect: fixed)

Opened 7 months ago

Last modified 4 months ago

Dojo integration requires updated __package__.js file

Reported by: cederberg@gmail.com Assigned to: somebody
Priority: normal Milestone: MochiKit 1.4
Component: component1 Version:
Severity: normal Keywords: dojo
Cc:

Description

The Dojo integration is broken for versions 0.4 of Dojo and up (for the packed version of MochiKit). The fix is similar to what was done to fix #205.

The file packed/MochiKit/package.js should be updated to this:

dojo.kwCompoundRequire({
    "common": [
        "MochiKit.MochiKit"
    ]
});

dojo.provide("MochiKit.*");

According to Dojo devs, this should also work for Dojo 0.3 and previous. I have personally only tested the above with Dojo 0.4.2 (and not with the recent 1.0 version), but it should work better than the current broken version.

Change History

03/16/08 22:29:53 changed by cederberg@gmail.com

  • status changed from new to closed.
  • resolution set to fixed.