Re: [Wikitech-l] Best practices for loading large, pre-minified JavaScript modules?

2014-07-13 Thread Max Semenik
You can bypass minification with raw=true, but it would kill most of RL niceties too. On Sun, Jul 13, 2014 at 6:10 AM, Brion Vibber bvib...@wikimedia.org wrote: I've started experimenting with embedding my ogv.js media player into TimedMediaHandler to provide Ogg playback in Safari and

Re: [Wikitech-l] Best practices for loading large, pre-minified JavaScript modules?

2014-07-13 Thread Krinkle
On 13 Jul 2014, at 19:40, Max Semenik maxsem.w...@gmail.com wrote: You can bypass minification with raw=true, but it would kill most of RL niceties too. This is incorrect. ResourceLoader raw does not, nor ever has, bypassed minification. raw is what bypasses the client loader framework. So

Re: [Wikitech-l] Best practices for loading large, pre-minified JavaScript modules?

2014-07-13 Thread Trevor Parscal
Seems reasonable for us to consider adding a way to specify packed in RL to skip additional processing of that module. - Trevor On Sun, Jul 13, 2014 at 6:35 PM, Krinkle krinklem...@gmail.com wrote: On 13 Jul 2014, at 19:40, Max Semenik maxsem.w...@gmail.com wrote: You can bypass

Re: [Wikitech-l] Best practices for loading large, pre-minified JavaScript modules?

2014-07-13 Thread Max Semenik
On Sun, Jul 13, 2014 at 6:35 PM, Krinkle krinklem...@gmail.com wrote: raw is what bypasses the client loader framework. So instead of returning a combined script/styles/messages response to the mw.loader.implement callback, it returns a raw response for only scripts, styles or messages –