JayRoe  
          
              
                December 11, 2009, 10:29pm
               
              1 
           
         
        
          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',        
            ),
        ),  
 
        
           
         
            
       
      
        
          
          
            tri  
          
              
                December 11, 2009, 11:49pm
               
              2 
           
         
        
          
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
         
        
           
         
            
       
      
        
          
          
            kenz  
          
              
                August 17, 2010,  8:01am
               
              3 
           
         
        
          
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!
         
        
           
         
            
       
      
        
          
          
            mikl  
          
              
                August 17, 2010, 10:42am
               
              4 
           
         
        
        
           
         
            
       
      
        
          
          
            kenz  
          
              
                August 23, 2010,  9:12am
               
              5 
           
         
        
          
Using google compiler now. Thanks for the hint!