##// END OF EJS Templates
Remove uneccessary lines in String.js
Jonathan Frederic -
Show More
@@ -47,10 +47,8 b' define(["notebook/js/widget"], function(widget_manager){'
47 // Handles: Backend -> Frontend Sync
47 // Handles: Backend -> Frontend Sync
48 // Frontent -> Frontend Sync
48 // Frontent -> Frontend Sync
49 update : function(){
49 update : function(){
50 var that=this;
51 this.$el.html(this.model.get('value'));
50 this.$el.html(this.model.get('value'));
52 var math_el = that.$el.get(0);
51 MathJax.Hub.Queue(["Typeset",MathJax.Hub,this.$el.get(0)]);
53 MathJax.Hub.Queue(["Typeset",MathJax.Hub,math_el]);
54
52
55 return IPython.WidgetView.prototype.update.call(this);
53 return IPython.WidgetView.prototype.update.call(this);
56 },
54 },
General Comments 0
You need to be logged in to leave comments. Login now