Show
Ignore:
Timestamp:
03/21/08 22:42:10 (7 years ago)
Author:
os0x
Message:

lang/javascript/userscripts/minibuffer.user.js:

  • $N関数の変数k,vのvarつけ忘れを修正
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/userscripts/minibuffer.user.js

    r8252 r8259  
    10861086function $N(name, attr, childs) { 
    10871087        var ret = document.createElement(name); 
    1088         for (k in attr) { 
     1088        for (var k in attr) { 
    10891089                if (!attr.hasOwnProperty(k)) continue; 
    1090                 v = attr[k]; 
     1090                var v = attr[k]; 
    10911091                if (k == "class") ret.className = v; 
    10921092                else ret.setAttribute(k, v);