Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2012-03-03 05:31:10 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2012-03-03 05:31:10 (GMT)
commit6476b8ad439207477deb1256e480aaa70c9f6631 (patch)
tree1b4a5c79464921b3542caa3dc081a45c5c1b3d1a
parenta5061837034b8e4473c77c1e06956cba2b146f5d (diff)
Remove absent css link
-rwxr-xr-xbin/build.py3
-rw-r--r--site/app/views/layouts/amo2009.thtml1
2 files changed, 1 insertions, 3 deletions
diff --git a/bin/build.py b/bin/build.py
index f2e80f3..f6c8ceb 100755
--- a/bin/build.py
+++ b/bin/build.py
@@ -193,8 +193,7 @@ class Minifier(object):
source -- path of source file
destination -- path of destination file
"""
- compressor = Popen([java, '-jar', os.path.join(script_dir, '..', 'lib', 'yuicompressor', 'build', 'yuicompressor.jar'),
- '--type', type, source], stdout=PIPE)
+ compressor = Popen(['yui-compressor', '--type', type, source], stdout=PIPE)
destFile = open(destination, 'w')
# Fix media queries to look like "(..) and (..)", NOT "(..) and(..)".
out = re.sub('and\(', 'and (', compressor.stdout.read())
diff --git a/site/app/views/layouts/amo2009.thtml b/site/app/views/layouts/amo2009.thtml
index 94471cb..24a55a1 100644
--- a/site/app/views/layouts/amo2009.thtml
+++ b/site/app/views/layouts/amo2009.thtml
@@ -93,7 +93,6 @@ if ($developer_layout) {
<?php else: ?>
<?= $html->css('amo2009/main', 'stylesheet', array('media'=>'screen,projection,tv')) ?>
<?= $html->css('amo2009/slimbox2', 'stylesheet', array('media'=>'screen,projection,tv')) ?>
- <?= $html->css('sugar', 'stylesheet', array('media'=>'screen,projection')) ?>
<?php endif ?>
<!--[if IE]>