Browse Source

Add smalltalk to ready() call in .html files

Thomas Rake 11 years ago
parent
commit
9fb9932a0f

+ 3 - 0
android/.gitignore

@@ -0,0 +1,3 @@
+helloamber/.classpath
+helloamber/.project
+helloamber/.settings

+ 1 - 1
googlecharts

@@ -1 +1 @@
-Subproject commit 13b286807a241352d056116c7997f60aa9d079b0
+Subproject commit 1811f701613a9ce76dfe46f8d43b0aba41fda942

+ 2 - 0
presentation/js/Presentation.deploy.js

@@ -1,3 +1,4 @@
+(function(smalltalk,nil,_st){
 smalltalk.addPackage('Presentation');
 smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
 smalltalk.addMethod(
@@ -3285,3 +3286,4 @@ smalltalk.WorkspaceSlide);
 
 
 
+})(global_smalltalk,global_nil,global__st);

+ 2 - 0
presentation/js/Presentation.js

@@ -1,3 +1,4 @@
+(function(smalltalk,nil,_st){
 smalltalk.addPackage('Presentation');
 smalltalk.addClass('Presentation', smalltalk.Widget, ['currentSlide', 'slides'], 'Presentation');
 smalltalk.addMethod(
@@ -4205,3 +4206,4 @@ smalltalk.WorkspaceSlide);
 
 
 
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
processing/index.html

@@ -31,7 +31,7 @@
 		{
 			packages: [ 'Processing-Examples' ],
             packageHome: './',
-			ready: function() {
+			ready: function(smalltalk) {
 				smalltalk.ProcessingClock._init() 
 			}
 		}) 

+ 2 - 0
processing/js/Processing-Examples.deploy.js

@@ -1,3 +1,4 @@
+(function(smalltalk,nil,_st){
 smalltalk.addPackage('Processing-Examples');
 smalltalk.addClass('ProcessingClock', smalltalk.Object, ['processing', 'centerX', 'centerY', 'maxArmLength'], 'Processing-Examples');
 smalltalk.addMethod(
@@ -104,3 +105,4 @@ messageSends: ["new", "processing", "draw", "at:put:"]}),
 smalltalk.ProcessingClock.klass);
 
 
+})(global_smalltalk,global_nil,global__st);

+ 2 - 0
processing/js/Processing-Examples.js

@@ -1,3 +1,4 @@
+(function(smalltalk,nil,_st){
 smalltalk.addPackage('Processing-Examples');
 smalltalk.addClass('ProcessingClock', smalltalk.Object, ['processing', 'centerX', 'centerY', 'maxArmLength'], 'Processing-Examples');
 smalltalk.addMethod(
@@ -134,3 +135,4 @@ referencedClasses: ["ProcessingClock"]
 smalltalk.ProcessingClock.klass);
 
 
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
trysmalltalk/index.html

@@ -8,7 +8,7 @@
 	loadAmber({
 		files: ['TrySmalltalk'],
 		packageHome: './',
-		ready: function() {
+		ready: function(smalltalk) {
 			smalltalk.Browser._openOn_(smalltalk.ProfStef)
 			smalltalk.TrySmalltalkWidget._open();
 		}}); 

+ 2 - 0
trysmalltalk/js/TrySmalltalk.deploy.js

@@ -1,3 +1,4 @@
+(function(smalltalk,nil,_st){
 smalltalk.addPackage('TrySmalltalk');
 smalltalk.addClass('AbstractTutorial', smalltalk.Object, [], 'TrySmalltalk');
 smalltalk.addMethod(
@@ -1083,3 +1084,4 @@ smalltalk.TutorialPlayer);
 
 
 
+})(global_smalltalk,global_nil,global__st);

+ 2 - 0
trysmalltalk/js/TrySmalltalk.js

@@ -1,3 +1,4 @@
+(function(smalltalk,nil,_st){
 smalltalk.addPackage('TrySmalltalk');
 smalltalk.addClass('AbstractTutorial', smalltalk.Object, [], 'TrySmalltalk');
 smalltalk.AbstractTutorial.comment="Parent class of all ProfStef tutorials.\x0a\x0aTo create your own tutorial:\x0a- subclass AbstractTutorial\x0a- implement a few methods which returns a Lesson instance\x0a- implement tutorial which returns a Collection of selectors to the methods you've created.";
@@ -1452,3 +1453,4 @@ smalltalk.TutorialPlayer);
 
 
 
+})(global_smalltalk,global_nil,global__st);

+ 1 - 1
vendor/amber

@@ -1 +1 @@
-Subproject commit 12a2b9a11ceb2c5922b8ae1edb288f27bcf240f8
+Subproject commit 9062994929d6dfa7cbe903dcf897b832258d2ec2