Changeset 678

Show
Ignore:
Timestamp:
09/07/06 12:51:25 (2 years ago)
Author:
JeremyRuston
Message:

Various minor fixes to eliminate Firefox warnings

Location:
Branches/2.1/core/js
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • Branches/2.1/core/js/Animator.js

    r110 r678  
    66{ 
    77        this.running = 0; // Incremented at start of each animation, decremented afterwards. If zero, the interval timer is disabled 
    8         this.timerID; // ID of the timer used for animating 
     8        this.timerID = 0; // ID of the timer used for animating 
    99        this.animations = []; // List of animations in progress 
    1010        return this; 
  • Branches/2.1/core/js/Macros.js

    r677 r678  
    3131        for (var t = 0; t < results.length; t++) 
    3232                { 
    33                 theListItem = document.createElement("li") 
     33                var theListItem = document.createElement("li") 
    3434                theList.appendChild(theListItem); 
    3535                if(typeof results[t] == "string") 
     
    174174config.macros.tiddler.handler = function(place,macroName,params,wikifier,paramString,tiddler) 
    175175{ 
    176         var params = paramString.parseParams("name",null,true,false,true); 
     176        params = paramString.parseParams("name",null,true,false,true); 
    177177        var names = params[0]["name"]; 
    178178        var tiddlerName = names[0]; 
     
    413413        if(!readOnly) 
    414414                { 
    415                 var params = paramString.parseParams("anon",null,true,false,false); 
     415                params = paramString.parseParams("anon",null,true,false,false); 
    416416                var title = params[1] && params[1].name == "anon" ? params[1].value : this.title; 
    417417                title = getParam(params,"title",title); 
     
    424424        if(!readOnly) 
    425425                { 
    426                 var params = paramString.parseParams("anon",null,true,false,false); 
     426                params = paramString.parseParams("anon",null,true,false,false); 
    427427                var now = new Date(); 
    428428                var title = params[1] && params[1].name == "anon" ? params[1].value : ""; 
     
    892892        createTiddlyElement(step,"br"); 
    893893        createTiddlyText(step,this.step1promptFeeds); 
    894         feeds = this.getFeeds([{caption: this.step1feedPrompt, name: ""}]); 
     894        var feeds = this.getFeeds([{caption: this.step1feedPrompt, name: ""}]); 
    895895        createTiddlyDropDown(step,this.onFeedChange,feeds); 
    896896        createTiddlyElement(step,"br"); 
     
    923923{ 
    924924        var importer = findRelated(this,"importTiddler","className","parentNode"); 
    925         url = importer.inputBox.value; 
     925        var url = importer.inputBox.value; 
    926926        var cutoff = findRelated(importer.firstChild,"step2","className","nextSibling"); 
    927927        while(cutoff) 
  • Branches/2.1/core/js/Tiddler.js

    r586 r678  
    108108                                var preRegExp = new RegExp(config.textPrimitives.unWikiLink+"|"+config.textPrimitives.anyLetter,"mg"); 
    109109                                preRegExp.lastIndex = formatMatch.index-1; 
    110                                 preMatch = preRegExp.exec(this.text); 
     110                                var preMatch = preRegExp.exec(this.text); 
    111111                                if(preMatch.index != formatMatch.index-1) 
    112112                                        this.links.pushUnique(formatMatch[1]); 
  • Branches/2.1/core/js/main.js

    r574 r678  
    7575{ 
    7676        if(safeMode) 
    77                 return; 
     77                return false; 
    7878        var configTiddlers = store.getTaggedTiddlers("systemConfig"); 
    7979        installedPlugins = [];