This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
737 B
32 lines
737 B
var Class = require('../core/class'); |
|
var Dummy = require('./dummy'); |
|
var Native = require('./native'); |
|
|
|
module.exports = Class(Dummy, Native, { |
|
|
|
dummy_inject: Dummy.prototype.inject, |
|
dummy_injectBefore: Dummy.prototype.injectBefore, |
|
dummy_eject: Dummy.prototype.eject, |
|
native_inject: Native.prototype.inject, |
|
native_injectBefore: Native.prototype.injectBefore, |
|
native_eject: Native.prototype.eject, |
|
|
|
inject: function(container){ |
|
this.dummy_inject(container); |
|
this.native_inject(container); |
|
return this; |
|
}, |
|
|
|
injectBefore: function(sibling){ |
|
this.dummy_injectBefore(sibling); |
|
this.native_injectBefore(sibling); |
|
return this; |
|
}, |
|
|
|
eject: function(){ |
|
this.dummy_eject(); |
|
this.native_eject(); |
|
return this; |
|
} |
|
|
|
});
|
|
|