initial commit

This commit is contained in:
Blue 2018-08-05 00:46:25 +03:00 committed by Юрий Губич
commit 4b60ece582
327 changed files with 28286 additions and 0 deletions

21
libjs/wModel/panesList.js Normal file
View file

@ -0,0 +1,21 @@
"use strict";
var List = require("./list");
var Vocabulary = require("../wType/vocabulary");
var PanesList = List.inherit({
"className": "PanesList",
"constructor": function(address) {
List.fn.constructor.call(this, address);
},
"addItem": function(model) {
List.fn.addModel.call(this, model);
var vc = new Vocabulary();
vc.insert("address", model.getAddress());
this.push(vc);
}
});
module.exports = PanesList;