[Swift-commit] r7892 - in SwiftApps/tryswift: . scripts

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Fri May 30 20:51:29 CDT 2014


Author: davidk
Date: 2014-05-30 20:51:29 -0500 (Fri, 30 May 2014)
New Revision: 7892

Modified:
   SwiftApps/tryswift/index.php
   SwiftApps/tryswift/scripts/001-introduction.swift
Log:
Better intro text
Fix some complaints that firefox was giving related to charset and a bug in jquery


Modified: SwiftApps/tryswift/index.php
===================================================================
--- SwiftApps/tryswift/index.php	2014-05-31 01:06:55 UTC (rev 7891)
+++ SwiftApps/tryswift/index.php	2014-05-31 01:51:29 UTC (rev 7892)
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html lang="en">
    <head>
+      <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
       <title>Try Swift</title>
       <link rel="stylesheet" type="text/css" href="css/tryswift.css">
    </head>
@@ -65,7 +66,7 @@
             }
          ?> ];
       </script>
-      <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
+      <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
       <script src="js/logtail.js"></script>
       <script type="text/javascript">
 

Modified: SwiftApps/tryswift/scripts/001-introduction.swift
===================================================================
--- SwiftApps/tryswift/scripts/001-introduction.swift	2014-05-31 01:06:55 UTC (rev 7891)
+++ SwiftApps/tryswift/scripts/001-introduction.swift	2014-05-31 01:51:29 UTC (rev 7892)
@@ -1,3 +1,14 @@
-// Welcome to tryswift!
-// Feel free to enter your code below, or select an existing script from the menu on the left
+# Welcome to tryswift!
+# Tryswift aims to help users learn Swift by running example scripts
+# More information about Swift can be found at swift-lang.org
+#
+# This is the introduction script, which only contains this text
+# There are 4 other example scripts you may choose from:
+#     Hello World   - Gives the basic syntax for running an application
+#     Foreach       - Introduces the foreach statement to run multiple apps at once
+#     Multiple apps - Show dependencies between multiple applications
+#     Multi-stage   - Example of a larger multi-stage workflow
+#
+# After you select a script, you may click on the explain button above to learn more
+# If you would like to run try running your own script, you may enter the code below
 




More information about the Swift-commit mailing list