Explorar o código

Fixed Paths, to amber.js replaced prefix: with packageHome:

Thomas Rake %!s(int64=11) %!d(string=hai) anos
pai
achega
d59af47496
Modificáronse 5 ficheiros con 7 adicións e 7 borrados
  1. 1 1
      googlecharts
  2. 1 1
      myproject/index.html
  3. 1 1
      presentation/index.html
  4. 1 1
      trysmalltalk/index.html
  5. 3 3
      twitterwall/index.html

+ 1 - 1
googlecharts

@@ -1 +1 @@
-Subproject commit 93aa7553934c704503e24b2f19863f22d3db4d69
+Subproject commit 13b286807a241352d056116c7997f60aa9d079b0

+ 1 - 1
myproject/index.html

@@ -7,7 +7,7 @@
 <script type="text/javascript"> 
 	loadAmber({
 		files: ['Banana'],
-		prefix: '../../myproject/js',
+		packageHome: './',
 		ready: function() {
 			smalltalk.Browser._open();
 		}}); 

+ 1 - 1
presentation/index.html

@@ -8,7 +8,7 @@
 <script type="text/javascript"> 
 	loadAmber({
 		files: ['Presentation'],
-		prefix: '../../presentation/js',
+		packageHome: './',
 		ready: function() {smalltalk.Browser._openOn_(smalltalk.FOSDEM2012Presentation)} 
 	}); 
 </script>

+ 1 - 1
trysmalltalk/index.html

@@ -7,7 +7,7 @@
 <script type="text/javascript"> 
 	loadAmber({
 		files: ['TrySmalltalk'],
-		prefix: '../../trysmalltalk/js',
+		packageHome: './',
 		ready: function() {
 			smalltalk.Browser._openOn_(smalltalk.ProfStef)
 			smalltalk.TrySmalltalkWidget._open();

+ 3 - 3
twitterwall/index.html

@@ -17,15 +17,15 @@
 		<p>Shows the last 5 Tweets regarding your query</p>
 	    <p>Examine the <button onClick="smalltalk.Browser._openOn_(smalltalk.TwitterSearch)"> TwitterSearch class</button></p> 
 
-	<p>Query:<br><input id="searchQuery" type="text" size="30" maxlength="30" value="#smalltalk">
+	<p>Query:<br><input id="searchQuery" type="text" size="30" maxlength="30" value="#amber-smalltalk">
 	<button onClick="smalltalk.TwitterSearch._new()._query()">update</button>
 	</p>
 	<div id="playground"></div>
 	</center>
 	<script type="text/javascript"> 
 	loadAmber({
-		files: ['TwitterWall.js'],
-		prefix: '../../twitterwall/js',
+		files: ['TwitterWall'],
+		packageHome: './',
 		ready: function() {
 			smalltalk.TwitterSearch._new()._query() 
 		}});