scriptMap

I’m at my wits end regarding the scriptMap. I can’t for the life of me figure why it seems to work at random. Adding ‘jquery.js’=>false seems to work on some pages, but not all, while adding files to the scriptMap never works.

I really hope there’s an answer to this, cause it’s been nagging me all day and I think I’m about to blow a fuse.




        'clientScript'=>array(

            'scriptMap'=>array(

                'jquery.js'=>false,                

                'jquery.yii.js'=>false,                

                'jquery.tools.min.js'=>'/js/all.js',        

                //'js.jquery.tools.min.js'=>'/js/all.js',        

                //'js/jquery.tools.min.js'=>'/js/all.js',        

            ),

        ),  

Did you prepare the all.js file?

See the guide section about Minimizing Script Files.

/Tommy

Hi Tommy!

What do you mean to prepare the all.js file? The guide said that:

I was wondering, what tools to use, and where/when to use it?

Any ideas?

Thanks!

http://developer.yahoo.com/yui/compressor/

Using google compiler now. Thanks for the hint!