mywot/chrome — Issue #6: Replace numer-based index to wot.default_component
Author: sorgoz
Created: 2012-02-11 06:56:49+00:00
State: open
Labels: Refactoring, Task

Example:

content/search.js (302):

var r = data[0] && data[0].r ? data[0].r : -1;

There should be data[wot.default_component] instead of hardcoded [0].

Also check all occurences of such code.