diff --git a/public/js/kilo.js b/public/js/kilo.js index 3201f143..47d138e5 100644 --- a/public/js/kilo.js +++ b/public/js/kilo.js @@ -3,18 +3,28 @@ var Kilo = function (params) { var self = this // public variables + // Boolean defining if we are in sukebei this.sukebei = (params.sukebei !== undefined) ? params.sukebei : 0 + // Boolean defining if a user is trusted this.userTrusted = (params.userTrusted !== undefined) ? params.userTrusted : false + // Boolean defining if a user is logged this.isMember = (params.isMember !== undefined) ? params.isMember : false + // Boolean enabling the AJAX load of torrents this.listContext = (params.listContext !== undefined) ? params.listContext : false + // Variable defining the