no more OZ.Class(), dedicated pubsub, std bind

This commit is contained in:
Ondrej Zara
2015-06-12 13:11:35 +02:00
parent 6fb6ba452f
commit 097b9e89c9
16 changed files with 159 additions and 171 deletions
+3 -5
View File
@@ -1,14 +1,12 @@
/* --------------------- db index ------------ */
SQL.Key = OZ.Class().extend(SQL.Visual);
SQL.Key.prototype.init = function(owner, type, name) {
SQL.Key = function(owner, type, name) {
this.owner = owner;
this.rows = [];
this.type = type || "INDEX";
this.name = name || "";
SQL.Visual.prototype.init.apply(this);
SQL.Visual.apply(this);
}
SQL.Key.prototype = Object.create(SQL.Visual.prototype);
SQL.Key.prototype.setName = function(n) {
this.name = n;