/[takahashi]/takahashi.xul
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /takahashi.xul

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

revision 1 by dpavlin, Fri Jun 9 21:15:49 2006 UTC revision 2 by dpavlin, Fri Jun 9 21:25:32 2006 UTC
# Line 718  var Presentation = { Line 718  var Presentation = {
718                  var image_total_height = 0;                  var image_total_height = 0;
719                  var image_src;                  var image_src;
720    
721                  var labelId = 0;                  var labelId = 0;
722                  var lineRegExp = this.makePhraseRegExp('^([^%O]+)?(%O%Oem:((.+?)(:em)?%C%C)?|%O%Opre:((.+?)(:pre)?%C%C)?|%O%O\#[^:]+:((.+?)%C%C)?|%O%Oima?ge? +src="([^"]+)" +width="([0-9]+)" +height="([0-9]+)"[^%C]*%C%C|%O%O(([^\|]+)?\\||)([^%C]+)%C%C|%O([^%C]+)%C)(.+)?', 'i');                  var lineRegExp = this.makePhraseRegExp('^([^%O]+)?(%O%Oem:((.+?)(:em)?%C%C)?|%O%Opre:((.+?)(:pre)?%C%C)?|%O%O\#[^:]+:((.+?)%C%C)?|%O%Oima?ge? +src="([^"]+)" +width="([0-9]+)" +height="([0-9]+)"[^%C]*%C%C|%O%O(([^\|]+)?\\||)([^%C]+)%C%C|%O([^%C]+)%C)(.+)?', 'i');
723    
724                  var emRegExp         = this.makePhraseRegExp('^([^%O]+)?%O%Oem:(.+?)()?%C%C', 'i');                  var emRegExp         = this.makePhraseRegExp('^([^%O]+)?%O%Oem:(.+?)()?%C%C', 'i');
# Line 1712  var Presentation = { Line 1712  var Presentation = {
1712          {          {
1713                  var now = (new Date()).getTime();                  var now = (new Date()).getTime();
1714                  if (aStart === void(0) || aEnd === void(0)) {                  if (aStart === void(0) || aEnd === void(0)) {
1715                          var rest = prompt('Remaining Time (minits)');                          var rest = prompt('Remaining Time (minits)');
1716                          if (rest == '') {                          if (rest == '') {
1717                                  this.resetTimer();                                  this.resetTimer();
1718                                  return;                                  return;
1719                          }                          }
1720                          else {                          else {
1721                                  rest = Number(rest);                                  rest = Number(rest);
1722                                  if (!rest || isNaN(rest)) return;                                  if (!rest || isNaN(rest)) return;
1723                          }                          }
1724    
1725                          rest = Math.abs(rest);                          rest = Math.abs(rest);

Legend:
Removed from v.1  
changed lines
  Added in v.2

  ViewVC Help
Powered by ViewVC 1.1.26