Changeset 301


Ignore:
Timestamp:
Mar 22, 2010, 4:27:25 PM (7 years ago)
Author:
duh
Message:
  • minified wizard JavaScript? using the YUI compressor, and made the view handle the minified javascript based on environment (production uses the minified css and js to reduce the footprint)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/index.gsp

    r299 r301  
    1717<html>
    1818<head>
    19         <meta name="layout" content="main"/>
     19        <meta name="layout" content="main"/><g:if env="development">
     20        <link rel="stylesheet" href="${resource(dir: 'css', file: 'wizard.min.css')}"/>
     21        <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js')}"></script>
     22        <script type="text/javascript" src="${resource(dir: 'js', file: 'swfobject.min.js')}"></script>
     23        <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.min.js')}"></script>
     24        <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js')}"></script>
     25        <script type="text/javascript" src="${resource(dir: 'js', file: 'timepicker-0.2.1.min.js')}"></script>
     26        <script type="text/javascript" src="${resource(dir: 'js', file: 'wizard.min.js')}"></script>
     27</g:if><g:else>
    2028        <link rel="stylesheet" href="${resource(dir: 'css', file: 'wizard.css')}"/>
    2129        <script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script>
     
    2634        <script type="text/javascript" src="${resource(dir: 'js', file: 'timepicker-0.2.1.js')}"></script>
    2735        <script type="text/javascript" src="${resource(dir: 'js', file: 'wizard.js')}"></script>
     36</g:else>
    2837</head>
    2938<body>
Note: See TracChangeset for help on using the changeset viewer.