Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Development Mode Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaz3e committed Jul 19, 2015
1 parent 661fbe7 commit 5d3e50e
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions s3tools/s3_head.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,23 @@
<?php } ?>

<jdoc:include type="head" />
<?php
// Responsive Video

<?php // Less Development Mode
if($this->params->get('developmentMode')): ?>
<link rel="stylesheet/less" type="text/css" href="<?php echo $dcTemplatePath; ?>/themes/style<?php echo $this->params->get('style'); ?>/style.less">
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.3.1/less.min.js"></script>
<?php if($this->params->get('LocalCDN')): ?>
<script type="text/javascript" src="<?php echo $dcTemplatePath; ?>/js/less.js"></script>
<?php else: ?>
<?php endif; ?>

<script type="text/javascript">
less.env = "development";
less.watch();
</script>
<?php endif; ?>

<?php // Responsive Video
if($this->params->get('ResponsiveVideo')): ?>
<script>
$(document).ready(function(){
Expand Down

0 comments on commit 5d3e50e

Please sign in to comment.