__hooks__.js 407 Bytes
this.afterModuleInit = function() {
  print("afterModuleInit")
}

this.afterViewInit = function() {
  try {
    print("afterViewInit")
    this.tableView().activated.connect(function(){
      print("activated");
    });
  } catch(e) {
    print(e);
  }
}

this.onDestroy = function() {
  print("onDestroy")
}

this.add = function(v, k, arg1, arg2) {
  print(v, k, arg1, arg2);
  return _.toNumber(v) * 20;
}