[LON-CAPA-cvs] cvs: rat / lonuserstate.pm

raeburn raeburn at source.lon-capa.org
Sun Sep 3 14:19:10 EDT 2017


raeburn		Sun Sep  3 18:19:10 2017 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - Remove some blank lines.
  - Fix typos in documentation.
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.151 rat/lonuserstate.pm:1.152
--- rat/lonuserstate.pm:1.151	Mon May  8 14:20:32 2017
+++ rat/lonuserstate.pm	Sun Sep  3 18:19:09 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construct and maintain state and binary representation of course for user
 #
-# $Id: lonuserstate.pm,v 1.151 2017/05/08 14:20:32 raeburn Exp $
+# $Id: lonuserstate.pm,v 1.152 2017/09/03 18:19:09 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -278,7 +278,6 @@
     }
     undef($codechecked);
 
-
     # Handle randomization and random selection
 
     if ($randomize) {
@@ -338,7 +337,6 @@
 	    @map_ids=&Math::Random::random_permutation(@map_ids);
 	}
 
-
 	my $from = shift(@map_ids);
 	my $from_rid = $lpc.'.'.$from;
 	$hash{'map_start_'.$uri} = $from_rid;
@@ -363,7 +361,7 @@
     $parser = HTML::TokeParser->new(\$instr);
     $parser->attr_encoded(1);
 
-    # last parse out the mapalias params.  Thes provide mnemonic
+    # last parse out the mapalias params.  These provide mnemonic
     # tags to resources that can be used in conditions
 
     while (my $token = $parser->get_token) {
@@ -708,7 +706,7 @@
 #  Typical attributes:
 #     to=n      - Number of the resource the parameter applies to.
 #     type=xx   - Type of parameter value (e.g. string_yesno or int_pos).
-#     name=xxx  - Name ofr parameter (e.g. parameter_randompick or parameter_randomorder).
+#     name=xxx  - Name of parameter (e.g. parameter_randompick or parameter_randomorder).
 #     value=xxx - value of the parameter.
 
 sub parse_param {




More information about the LON-CAPA-cvs mailing list