Diff for /loncom/html/adm/LC_math_editor/src/tokenizer.js between versions 1.1 and 1.2

version 1.1, 2014/09/24 18:14:39 version 1.2, 2015/02/24 15:20:44
Line 18  through which recipients can access the Line 18  through which recipients can access the
   
 */  */
   
   "use strict";
   
 /**  /**
  * String tokenizer. Recognizes only names, numbers, and parser operators.   * String tokenizer. Recognizes only names, numbers, and parser operators.
  * @constructor   * @constructor
Line 141  main: Line 143  main:
         }          }
                   
         // names          // names
         if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) {          if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
                   (c >= 'α' && c <= 'ω') || (c >= 'Α' && c <= 'Ω') || c == 'µ') {
             value = c;              value = c;
             i++;              i++;
             for (;;) {              for (;;) {
                 c = this.text.charAt(i);                  c = this.text.charAt(i);
                 if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||                  if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
                           (c >= 'α' && c <= 'ω') || (c >= 'Α' && c <= 'Ω') || c == 'µ' ||
                         (c >= '0' && c <= '9') || c === '_') {                          (c >= '0' && c <= '9') || c === '_') {
                     value += c;                      value += c;
                     i++;                      i++;

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>