Class: Result

Result

Represents a resultant package from a search for a manager. Each data property can have HTML that is rendered. Be kind. The primary property will always be rendered as a link using the link property.

new Result(id, manager, primary, secondary, link, data1, data2, data3, status, button)

Search result

Parameters:
Name Type Description
id Stinrg

Unique package/dependency name

manager String

Manager name as defined in the Interface/managerModules array

primary String

Primary text about the result (eg. A friendly name of a package)

secondary String

Secondary text about the result (eg. a description of a package)

link String

Url of a package/dependency

data1 String

Data field (eg. last updated)

data2 String

Data field (eg. version)

data3 String

Data field (eg. downloads)

status String

Status of result; either an empty string, installed, update, or error

button String

Description of buttons; either an empty string or installed

Source:
To Do:
  • Refactor likely into something less hackish.
Copyright © Kyle Hornberg 2014
Documentation generated by JSDoc 3.2.2 on Thu Apr 03 2014 13:07:01 GMT-0500 (CDT) using the DocStrap template.