Changeset 25152 for lang/javascript/vimperator-plugins
- Timestamp:
- 11/28/08 00:34:12 (6 weeks ago)
- Files:
-
- 1 modified
-
lang/javascript/vimperator-plugins/trunk/copy.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/copy.js
r25054 r25152 95 95 var candidates = []; 96 96 var filter = context.filter.toLowerCase(); 97 templates.forEach(function(template){ 98 if (template[0].toLowerCase().indexOf(filter) == 0) 99 candidates.push(template); 100 }); 101 context.completions = candidates; 97 context.completions = templates.filter(function(template) template[0].toLowerCase().indexOf(filter) == 0); 102 98 }, 103 99 bang: true
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)