Просмотр исходного кода

updated the client-side usage infos (#2)

Nicolas Petton 13 лет назад
Родитель
Сommit
3769dc688e
1 измененных файлов с 5 добавлено и 4 удалено
  1. 5 4
      index.html

+ 5 - 4
index.html

@@ -15,7 +15,7 @@
     <script type='text/javascript' src='js/canvas.js'></script>
     <script type='text/javascript' src='js/ide.js'></script>
     <script type='text/javascript' src='js/init.js'></script>
-    <link rel="stylesheet" type="text/css" href="css/jtalk.css">
+    <link rel="stylesheet" type="text/css" href="css/jtalk.css"/>
 
     <script type="text/javascript">
 
@@ -83,10 +83,11 @@ t: 0; border: 0;" src="https://assets.github.com/img/bec6c51521dcc8148146135149f
 	  <div class="box">
 	      <h2>Client-side usage</h2>
 	      <div class="content">
-		<p>Load the full Jtalk Smalltalk environment in your page:</p> 
-		<pre>&lt;script src="jtalk.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
+		<p>Load the full Jtalk Smalltalk environment with the IDE in your page:</p> 
+		<pre>&lt;script src="js/jtalk.js" type="text/javascript"&gt;&lt;/script&gt;
+&lt;link rel="stylesheet" type="text/css" href="css/jtalk.css"/&gt;</pre>
 		<p>Or the deployment JavaScript file only (without the Smalltalk parser or compiler):</p>
-		<pre>&lt;script src="jtalk.deploy.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
+		<pre>&lt;script src="js/jtalk.deploy.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
 		<p>Read the <a href="#documentation">documentation</a> to learn more about writing applications in Jtalk.</p>
 	    </div>
 	  </div>