Browse Source

Using 'jQuery' instead of '$' global.

Herbert Vojčík 9 years ago
parent
commit
c2b6e5bad1
2 changed files with 3 additions and 3 deletions
  1. 2 2
      presentation/src/Presentation.js
  2. 1 1
      presentation/src/Presentation.st

+ 2 - 2
presentation/src/Presentation.js

@@ -3874,12 +3874,12 @@ selector: "codeSnippet",
 protocol: 'accessing',
 fn: function (){
 var self=this;
-return "var counter = window.smalltalk.Counter._new();\x0acounter._appendToJQuery_($('#jsToSmalltalk'));";
+return "var counter = window.smalltalk.Counter._new();\x0acounter._appendToJQuery_(jQuery('#jsToSmalltalk'));";
 
 },
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: [],
-source: "codeSnippet\x0a\x09^\x0a'var counter = window.smalltalk.Counter._new();\x0acounter._appendToJQuery_($(''#jsToSmalltalk''));'.",
+source: "codeSnippet\x0a\x09^\x0a'var counter = window.smalltalk.Counter._new();\x0acounter._appendToJQuery_(jQuery(''#jsToSmalltalk''));'.",
 referencedClasses: [],
 //>>excludeEnd("ide");
 messageSends: []

+ 1 - 1
presentation/src/Presentation.st

@@ -1756,7 +1756,7 @@ FOSDEMSlide subclass: #FOSDEMJSToSmalltalk
 codeSnippet
 	^
 'var counter = window.smalltalk.Counter._new();
-counter._appendToJQuery_($(''#jsToSmalltalk''));'.
+counter._appendToJQuery_(jQuery(''#jsToSmalltalk''));'.
 !
 
 cssClass