[LON-CAPA-cvs] cvs: loncom /interface lonhtmlcommon.pm spellcheck.pm

foxr foxr at source.lon-capa.org
Tue Sep 4 06:46:05 EDT 2012


foxr		Tue Sep  4 10:46:05 2012 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm spellcheck.pm 
  Log:
  Correct the interface with the caller.
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.319 loncom/interface/lonhtmlcommon.pm:1.320
--- loncom/interface/lonhtmlcommon.pm:1.319	Fri Jul  6 22:46:06 2012
+++ loncom/interface/lonhtmlcommon.pm	Tue Sep  4 10:46:05 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.319 2012/07/06 22:46:06 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.320 2012/09/04 10:46:05 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1211,6 +1211,10 @@
 <link rel="stylesheet" type="text/css" href="/adm/jpicker/css/jPicker-1.1.6.min.css" />
 <script type="text/javascript" src="/adm/countdown/js/jquery.countdown.js"></script>
 <link rel="stylesheet" type="text/css" href="/adm/countdown/css/jquery.countdown.css" />
+
+<script type="text/javascript" src="/adm/spellchecker/js/jquery.spellchecker.js"></script>
+<link rel="stylesheet" type="text/css" href="/adm/spellchecker/css/spellchecker.css" />
+
 ENDJQUERY
 	return $s;
 }
Index: loncom/interface/spellcheck.pm
diff -u loncom/interface/spellcheck.pm:1.2 loncom/interface/spellcheck.pm:1.3
--- loncom/interface/spellcheck.pm:1.2	Mon Aug 27 11:09:56 2012
+++ loncom/interface/spellcheck.pm	Tue Sep  4 10:46:05 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: spellcheck.pm,v 1.2 2012/08/27 11:09:56 foxr Exp $
+# $Id: spellcheck.pm,v 1.3 2012/09/04 10:46:05 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -76,7 +76,7 @@
 
     #  Turn the words into an array:
 
-    my @word_list = split(/\s+/, $words);
+    my @word_list = split(/\+/, $words);
 
     my @mis_spelled;
     foreach my $word (@word_list) {




More information about the LON-CAPA-cvs mailing list