0

How can I can I load the yui debug files with mojito in the client?

Hello, I'm using the HTMLFrameMojit to render my page with mojito (deploy=true).

Is there a simple way to use yui-debug.js in the client instead of the "min" version?

Thanks

by
1 Reply
  • @Koala, just add the proper config in application.json:

    http://developer.yahoo.com/cocktails/mojito/docs/intro/mojito_configuring.html#yui-object

    Basically, you can do this:

    [{ "settings": [ "master" ], "yui": { "config": { "filter": "debug" } } }]

    In fact, you can use any yui configuration (http://yuilibrary.com/yui/docs/api/classes/config.html) using the same technique.

    0

Recent Posts

in Yahoo! Mojito