Merge branch 'feature/vuejs-serverlist' into feature/vue-serverview
This commit is contained in:
commit
11d96c44d1
7 changed files with 143 additions and 68 deletions
|
@ -1,19 +0,0 @@
|
|||
const Allocation = function () {
|
||||
this.ip = null;
|
||||
this.port = null;
|
||||
};
|
||||
|
||||
/**
|
||||
* Return a new allocation model.
|
||||
*
|
||||
* @param obj
|
||||
* @returns {Allocation}
|
||||
*/
|
||||
Allocation.prototype.fill = function (obj) {
|
||||
this.ip = obj.ip || null;
|
||||
this.port = obj.port || null;
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
export default Allocation;
|
Loading…
Add table
Add a link
Reference in a new issue