Commit d5b90d98 authored by Leo Iannacone's avatar Leo Iannacone

added description for view object

parent 3fb306f7
function Page_Distrubion(socket) function Page_Distrubion(socket)
{ {
/*
General Objects description:
The current view:
view = {}
view.distribution --- the selected distribution
view.distribution.name
view.distribution.packages = {package}
view.package --- the selected package
view.package.name
view.package.version
view.package.orig_name
view.package.status
view.package.files = [file]
view.package.debs = [file]
view.package.archives = [file]
view.file --- the selected file
view.file.name
view.file.content
view.file.path
view.file.extension
*/
var socket = socket var socket = socket
var events = config.events.client var events = config.events.client
var view = Utils.from_hash_to_view() var view = Utils.from_hash_to_view()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment