UnPlug 2.010 ============ 2.010 changes what data is passed from the search (search.js) to the display (searchpage.js) code, and makes large changes to the implementation of unplug_result xbl items. Results ------- * unplug_result.xbl items initialized through one function - the .initResult method. The default downloader option is the first available downloader from a list to initResult (if none are available, "no valid downloader" is displayed. * The "open" button is removed, and the options are given under the download button. SearchPage ---------- * Takes the global window object (as well as the gBrowser) so gFlashGotServce can be found. (These are provided by overlay.js). * Most creation of unplug_result object is in a call to a new .initResult method on the xbl item. Duplicates are updated with .addDuplicate method. * All calls from unplug_result.xbl are now to two functions: widgetavailable and widgetresponse. These look in a new object, UnPlug2SearchPage.widgets, for implementaion of these features. Search ------ * Search.js now sends a JSON-able javascript object when a result is found.