Does it preserve order

Permalink Browser Info Environment
I like the idea of the module, but hen i use it, the scripting does not work anymore. I assume it's an order thing.

try
        {
                Loader::model('asset_optimizer','xclydes_utilities');
                AssetOptimizer::addJS($this->getThemePath().'/js/main.js' );
                AssetOptimizer::addJS($this->getThemePath().'/js/jquery-ui.js');
                AssetOptimizer::addJS($this->getThemePath().'/js/jquery.swfobject.1-1-1.min.js');
                AssetOptimizer::addJS($this->getThemePath().'/js/youTubeEmbed-jquery-1.0.js');
                AssetOptimizer::addJS($this->getThemePath().'/js/jquery.curvycorners.min');
                AssetOptimizer::addJS($this->getThemePath().'/js/jquery.main.js');
                echo '<script type="text/javascript" src="'.AssetOptimizer::compileJS().'"></script>';   
        }
        catch(Exception $error)
        {
                Log::addEntry($error->getTraceAsString());
        }


When i open tje compiled script file, it looks like order is not preserved.

Also when to use the params $store an $preprocessed

Regards, Cas

Type: Discussion
Status: New
MissMarvels
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.