PHP Classes

File: javascript.php

Recommend this page to a friend!
  Classes of Antonio Jozzolino   crushJsCss   javascript.php   Download  
File: javascript.php
Role: Example script
Content type: text/plain
Description: Javascript Example
Class: crushJsCss
Optimize Javascript and CSS files
Author: By
Last change:
Date: 15 years ago
Size: 505 bytes


Class file image Download
= "C:\phpclasses";

$i = 0;
$js[$i++]['file'] = $path.'\class_crushJsCss\examples\01.js';
$js[$i++]['file'] = $path.'\class_crushJsCss\examples\02.js';
$js[$i-1]['pack'] = false;
$js[$i++]['file'] = $path.'\class_crushJsCss\examples\03.js';

$javascript = new crushJsCss();
$javascript->scripts = $js;
$javascript->type = 'javascript';
$javascript->cachedir = $path.'\class_crushJsCss\cache';