A simple 'extend' helper, adapted from the Backbone.js library.
A simple "extend" mechanism, adapted from the Backbone.js library.
MyObjectextend = require'simple-extend';var SubObject = MyObjectextendprotoProps classProps;
If a static
extended method exists on the parent object, it will be
called at extension time, passing the child object as an argument.