Topic on Talk:JQuery

Using FireQuery and uncompressed jQuery for development

3
P858snake (talkcontribs)

I'd like to use Firefox add-on FireQuery for jQuery development but haven't come very far yet. I suppose the problem is the minified jQuery which isn't very useful for development purposes. Is there a way to use the uncompressed version of jQuery for development? TIA

This post was posted by Peachey88, but signed as Nakohdo.

P858snake (talkcontribs)

I don't know FireQuery, but as of 1.17 the ResourceLoader is serving all resources (minified by default). Append "?debug=true" or "&debug=true" to the end of a link to disable it. Then all raw modules will be loaded. In your development please use mw.log where you would otherwise do a check for your own debug mode and use console.log. mw.log is a built-in function that will either do nothing in production mode or (in debug mode) send messages to your console (if available) or in a logger-element on the page. See also RL/DM#mediaWiki.log.

This post was posted by Peachey88, but signed as Krinkle.

P858snake (talkcontribs)

Thanks for the hint. I will try that as soon as I have upgraded to 1.17 ;-)

This post was posted by Peachey88, but signed as Nakohdo.