Commits

Shlomi Fish committed a6f3dda

Add more.

Comments (0)

Files changed (1)

fc-solve/site/wml/src/js/web-fc-solve-ui.js

     );
 }
 
-var _pristine_output;
-
 Class('FC_Solve_UI',
     {
         has: {
             _instance: { is: rw },
             _solve_err_code: { is: rw },
             _was_iterations_count_exceeded: { is: rw, init: false },
+            _pristine_output: { is: rw },
         },
         methods: {
             _is_one_based_checked: function() {
                 var that = this;
 
                 that._webui_output_set_text(
-                    that._process_pristine_output(_pristine_output)
+                    that._process_pristine_output(that._pristine_output)
                 );
                 return;
             },
             _webui_set_output: function(buffer) {
                 var that = this;
 
-                _pristine_output = buffer;
+                that._pristine_output = buffer;
 
                 that._re_enable_output();