mocha. js.php

Dynamically concatenate source javascript files during development.

Copyright

Copyright © 2007-2008 Greg Houston, http://greghoustondesign.com/.

Note

This is not recommended for live sites since it does not cache, compress or gzip the outputted file.

Use

In the source code, edit the files you wish to merge.  By default all the javascript files in the source directory are merged.  When your site is ready to go live, it is recommended that you take the output of this file, compress it and rename it “mocha.js”.

Example

<script type="text/javascript" src="scripts/source/Utilities/mocha.js.php"></script>
Close