SellerDeck added compressed JavaScript with SellerDeck 2014.
It is possible to add any additional javascript files to the create_sellerdeck_min.bat and run uglify again: http://community.sellerdeck.com/showthread.php?t=56166
create_sellerdeck_min.bat as is
create_sellerdeck_min.bat with additional js files
Upgrading from 14 to 16 SelerDeck rewrites the create_sellerdeck_min.bat to the original (still the same as in v14) and on opening the site for the first time you see javascript errors. You will need to run the compression again.
You will also need to bring your extra .js files from v14 to v16 as if they are not specified in 'additional files' and SD is running off the sellerdeck.min.js the original files will not be included in the snapshot.
Same applies if you have used the same technique to compress css.
It is possible to add any additional javascript files to the create_sellerdeck_min.bat and run uglify again: http://community.sellerdeck.com/showthread.php?t=56166
create_sellerdeck_min.bat as is
Code:
call uglifyjs actiniccore.js actinicextras.js actinicsearch.js dynamic.js recentproductssupport.js responsive.js -o sellerdeck.min.js --source-map sellerdeck.min.map --comments /.*Copyright.*/ -m -c join_vars,sequences,properties,dead_code,drop_debugger,conditionals,comparisons,evaluate,booleans,loops,unused=false,hoist_funs=false,if_return,unsafe=false,join_vars,cascade
create_sellerdeck_min.bat with additional js files
Code:
call uglifyjs actiniccore.js actinicextras.js actinicsearch.js dynamic.js recentproductssupport.js jquery.mousewheel-3.0.6.pack.js jquery.fancybox.js jquery.fancybox-buttons.js jquery.fancybox-thumbs.js jquery.fancybox-media.js magiczoomplus.js waypoints.js waypoints-sticky.js jquery.easing.1.3.js jquery.panelslider.min.js responsive.js -o sellerdeck.min.js --source-map sellerdeck.min.map --comments /.*Copyright.*/ -m -c join_vars,sequences,properties,dead_code,drop_debugger,conditionals,comparisons,evaluate,booleans,loops,unused=false,hoist_funs=false,if_return,unsafe=false,join_vars,cascade
Upgrading from 14 to 16 SelerDeck rewrites the create_sellerdeck_min.bat to the original (still the same as in v14) and on opening the site for the first time you see javascript errors. You will need to run the compression again.
You will also need to bring your extra .js files from v14 to v16 as if they are not specified in 'additional files' and SD is running off the sellerdeck.min.js the original files will not be included in the snapshot.
Same applies if you have used the same technique to compress css.
Comment