Skip to content

Commit

Permalink
- Changes to support IE in deployed AjaxLife - load IE-targetted scri…
Browse files Browse the repository at this point in the history
…pts.

- Added a single, useless comment to CommandLine.cs. No idea why.
  • Loading branch information
Katharine committed Feb 29, 2008
1 parent c5319a0 commit 2836437
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
1 change: 1 addition & 0 deletions server/CommandLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public CommandLineArgs(string[] args)
}
}

// Easy accessor
public string this[string Param]
{
get
Expand Down
26 changes: 20 additions & 6 deletions server/Html/Templates/AjaxLife.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,31 @@
-->
<head>
<title>AjaxLife</title>
<script type="text/javascript" src="{STATIC_ROOT}AjaxLife.Libs.js"></script>
<script type="text/javascript" src="{STATIC_ROOT}Crypto.js"></script>
<link href="{STATIC_ROOT}resources/css/ext-all.css" type="text/css" rel="stylesheet" />
<link href="{STATIC_ROOT}resources/css/ytheme-aero.css" type="text/css" rel="stylesheet" />
<!-- The below is not used on IE before IE7. -->
<!--[if gte IE 7]-->
<script type="text/javascript" src="{STATIC_ROOT}AjaxLife.Libs.js"></script>
<script type="text/javascript" src="{STATIC_ROOT}Crypto.js"></script>
<link href="{STATIC_ROOT}login.css" type="text/css" rel="stylesheet" />
<link href="{STATIC_ROOT}ui.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="{STATIC_ROOT}login.js"></script>
<!-- The really big file
<script type="text/javascript" src="{STATIC_ROOT}AjaxLife.All.js"></script>
-->
<!-- Used for development. -->
<!-- The really big file -->
<!-- <script type="text/javascript" src="{STATIC_ROOT}AjaxLife.All.js"></script> -->
<!--[endif]-->

<!-- The below is only used on IE before IE7. -->
<!--[if lt IE 7]>
<script type="text/javascript" src="{STATIC_ROOT}AjaxLife.Libs.IE6.js"></script>
<script type="text/javascript" src="{STATIC_ROOT}Crypto.IE6.js"></script>
<link href="{STATIC_ROOT}login.IE6.css" type="text/css" rel="stylesheet" />
<link href="{STATIC_ROOT}ui.IE6.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="{STATIC_ROOT}login.IE6.js"></script>
<script type="text/javascript" src="{STATIC_ROOT}AjaxLife.All.IE6.js"></script>
<![endif]-->
<!-- If you do development in IE6 (or lower), you will have to comment out the above line.
<!-- The below is used for development. -->
<script src="{STATIC_ROOT}AjaxLife.js" type="text/javascript"></script>
<script src="{STATIC_ROOT}AjaxLife.Strings.js" type="text/javascript"></script>
<script src="{STATIC_ROOT}AjaxLife.Widgets.js" type="text/javascript"></script>
Expand Down

0 comments on commit 2836437

Please sign in to comment.