Tuesday, September 29, 2015

Ajaxmin



http://ajaxmin.codeplex.com/

I recently had a situation where building a solution caused an error in the Ajaxmin functionality.

maniffest.ajamin file:

<!-- http://ajaxmin.codeplex.com/documentation -->
<root>
  <arguments>–global:jQuery,$,moment,google,Modernizr,InfoBox -comments:none -ignore:JS1270</arguments>
  <output path="js/CessnaResponsive/scripts.min.js" type="js" enc="utf-8">
    <input path="js/CessnaResponsive/vendor/jquery.js"/>
    <input path="js/CessnaResponsive/foundation.min.js"/>
    <input path="js/CessnaResponsive/slick.min.js"/>
    <input path="js/CessnaResponsive/scripts.js"/>
    <input path="js/Shared/language-selector.js"/>
    <input path="js/Shared/global-header-drawer.js"/>
  </output>

</root>

On build it was changing order - jquery was not included and foundation, being first, failed to work. I had to turn all options to false in the Options:




No comments:

Post a Comment