Permalink
Browse files

Remove Ext's namespacing function

  • Loading branch information...
1 parent 4144985 commit 73bbe7fab3a2a95a2629aa7ec0271fb9c89faf50 @lidavidm lidavidm committed Jul 13, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 static/live-autocomplete.js
  2. +2 −2 static/live-core.js
  3. +1 −1 static/live-mobile.js
@@ -1,4 +1,4 @@
-Ext.ns("SymPy");
+utilities.namespace("SymPy");
$.fn.reverse = [].reverse;
View
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-Ext.ns("SymPy");
+utilities.namespace("SymPy");
SymPy.Keys = {
BACKSPACE: 8, DEL: 46,
@@ -821,7 +821,7 @@ SymPy.Shell = Class.$extend({
}
MathJax.Hub.Queue(['Typeset', MathJax.Hub, element.get(0)],
- [postprocessLaTeX.createDelegate(this)]);
+ [$.proxy(postprocessLaTeX, this)]);
}
}
View
@@ -1,4 +1,4 @@
-Ext.ns("SymPy");
+utilities.namespace("SymPy");
SymPy.HISTORY_TEMPLATE = '<div id="sympy-live-toolbar-history">' +
'<button id="button-history-prev">↑</button>' +
'<button id="button-history-next">↓</button>' +

0 comments on commit 73bbe7f

Please sign in to comment.