Changeset 17610
- Timestamp:
- 08/14/08 08:57:35 (5 months ago)
- Location:
- lang/javascript/vimperator-plugins/trunk
- Files:
-
- 2 modified
-
command_menu.js (modified) (2 diffs)
-
migemized_find.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/command_menu.js
r16719 r17610 3 3 // @description-ja メインメニューとツールバーをコマンドで実行できる 4 4 // @license Creative Commons 2.1 (Attribution + Share Alike) 5 // @version 1. 25 // @version 1.3 6 6 // ==/VimperatorPlugin== 7 7 // … … 116 116 117 117 function fixName (name) { 118 return name .replace(/^\s+|\s+$/, '').replace(/[\-\s]+/g, '_');118 return name ? name.replace(/^\s+|\s+$/, '').replace(/[\-\s]+/g, '_') : ''; 119 119 } 120 120 -
lang/javascript/vimperator-plugins/trunk/migemized_find.js
r17563 r17610 25 25 // findMode := FIND_MODE_NATIVE | FIND_MODE_MIGEMO | FIND_MODE_REGEXP 26 26 27 const findbarTextbox = document.getElementById('FindToolbar').getElement('findbar-textbox'); 27 const FindToolbar = document.getElementById('FindToolbar') 28 const FindbarTextbox = FindToolbar.getElement('findbar-textbox'); 28 29 const DOMUtils = Components.classes["@mozilla.org/inspector/dom-utils;1"]. 29 30 getService(Components.interfaces["inIDOMUtils"]); … … 36 37 // とりあえず、アレな方法で not found を検出 37 38 function isNotFound () { 38 let rules = DOMUtils.getCSSStyleRules( findbarTextbox);39 let rules = DOMUtils.getCSSStyleRules(FindbarTextbox); 39 40 for (let i = 0; i < rules.Count(); i++) { 40 41 if (rules.GetElementAt(i).selectorText.indexOf('notfound') >= 0)
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)