Skip to main content

How to make invoke jmaki(-non-minified).js?

5 replies [Last post]
bouteill
Offline
Joined: 2004-07-02
Points: 0

When using w/ jmaki 1.8beta, it's invoking the minified version of jmaki:

Although I specified:

jmaki-useminfied
false

and it's documented to be false by default in web.xml.
Is there anyway to prevent from invoking jmaki-min.js? Or is it hardcoded?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

For those following this thread carla has blogged about the performance features at:

http://weblogs.java.net/blog/carlavmott/archive/2008/10/enabling_perfor....

gmurray71
Offline
Joined: 2003-07-31
Points: 0

This might be a bug. Let me look into the source and see what is going on.

-G

gmurray71
Offline
Joined: 2003-07-31
Points: 0

Hi,

There was a typo in the context parameter which led to the issue you see. It should be:

jmaki-useminified false

jmaki-useminfied should be jmaki-useminified

The defaults are set to be true on the property.

I'll update the docs to match.

-Greg

bouteill
Offline
Joined: 2004-07-02
Points: 0

Ah-ah! Good catch! It works now.

gmurray71
Offline
Joined: 2003-07-31
Points: 0

Great to hear. We'd love to know about the performance gains with and without the feature if possible.