[system] / trunk / webwork2 / lib / WeBWorK / ContentGenerator / Problem.pm Repository:
ViewVC logotype

Diff of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 717 Revision 718
561 ); 561 );
562} 562}
563 563
564sub previewAnswer($$) { 564sub previewAnswer($$) {
565 my ($self, $answerResult) = @_; 565 my ($self, $answerResult) = @_;
566 my $ce = $self->{courseEnvironment}; 566 my $ce = $self->{courseEnvironment};
567 my $effectiveUser = $self->{effectiveUser}; 567 my $effectiveUser = $self->{effectiveUser};
568 my $set = $self->{set}; 568 my $set = $self->{set};
569 my $problem = $self->{problem}; 569 my $problem = $self->{problem};
570 my $displayMode = $self->{displayMode}; 570 my $displayMode = $self->{displayMode};
571 571
572 # note: right now, we have to do things completely differently when we are 572 # note: right now, we have to do things completely differently when we are
573 # rendering math from INSIDE the translator and from OUTSIDE the translator. 573 # rendering math from INSIDE the translator and from OUTSIDE the translator.
574 # so we'll just deal with each case explicitly here. there's some code 574 # so we'll just deal with each case explicitly here. there's some code
575 # duplication that can be dealt with later by abstracting out tth/dvipng/etc. 575 # duplication that can be dealt with later by abstracting out tth/dvipng/etc.

Legend:
Removed from v.717  
changed lines
  Added in v.718

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9