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: 11 years ago
Size: 505 bytes
 

Contents

Class file image Download
<?php
$path
= "C:\phpclasses";
include(
'../../class_crushJsCss/class_crushJsCss.php');

$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';
$javascript->jscss();
?>


For more information send a message to info at phpclasses dot org.