Permalink
Browse files

Use minified less.js and MODE_LESS by default

  • Loading branch information...
1 parent 0e91ada commit c46a92e905d837dfc35a07e1510d33f96ed44046 @SocalNick SocalNick committed Jan 13, 2012
Showing with 11 additions and 2 deletions.
  1. +1 −1 Module.php
  2. +9 −0 public/js/less.min.js
  3. +1 −1 src/IgnLess/View/Helper/HeadLinkLess.php
View
@@ -44,7 +44,7 @@ public function addJs($e)
$headLinkLess = $view->plugin('headLinkLess');
if (\IgnLess\View\Helper\HeadLinkLess::MODE_LESS == $headLinkLess->getMode()) {
- $view->plugin('headScript')->appendFile($basePath . '/js/IgnLess/less.js');
+ $view->plugin('headScript')->appendFile($basePath . '/js/IgnLess/less.min.js');
}
}
}
Oops, something went wrong.

0 comments on commit c46a92e

Please sign in to comment.