diff --git a/example/index.php b/example/index.php index 69f3ad8..113b415 100644 --- a/example/index.php +++ b/example/index.php @@ -15,14 +15,13 @@ ob_end_clean(); // add() can be used in any sub-template before main layout rendering -LESS::connect('/lessnichy-app')->add( - [ +LESS::connect('/lessnichy-app', false)->add( + array( '/less/foo.less' - ] + ) ); ?> -
@@ -31,18 +30,20 @@ LESS::head( - [ - LESS::JS => '/js/less-1.7.0.min.js', + array( + // LESS::JS => '/js/less-1.7.0.min.js', // customize less.js lib LESS::DEBUG => true, LESS::WATCH_INTERVAL => 5000, - ] + ) ); ?> +