From 9931b5ae3f936dae08ad511b7c14be062dd4fd23 Mon Sep 17 00:00:00 2001 From: kimth Date: Mon, 10 Sep 2012 16:20:06 -0400 Subject: [PATCH] Mimic javascriptinput displayClass --- common/lib/xmodule/xmodule/js/src/capa/display.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/js/src/capa/display.coffee b/common/lib/xmodule/xmodule/js/src/capa/display.coffee index 13701e659b..43633bb713 100644 --- a/common/lib/xmodule/xmodule/js/src/capa/display.coffee +++ b/common/lib/xmodule/xmodule/js/src/capa/display.coffee @@ -324,7 +324,9 @@ class @Problem inputtypeSetupMethods: textinputdynamath: (element) => - @mathjax_preprocessor = window.mathjax_preprocessor + preprocessorClass = window['MathjaxPreprocessorFor6002x'] + preprocessor = new preprocessorClass() + alert preprocessor.fn javascriptinput: (element) =>