kaman.functions.js
function omitBackboneOptsAsProps(subject, omit) {
    console.log("omitBackboneOptsAsProps:")
    console.log(subject, subject.options, omit, _.omit(subject.options, omit))
    backboneOptsAsProps(subject, _.omit(subject.options, omit))
}
function omitBackboneOptsAsProps(subject, omit) {
    console.log("omitBackboneOptsAsProps:")
    console.log(subject, subject.options, omit, _.omit(subject.options, omit))
    backboneOptsAsProps(subject, _.omit(subject.options, omit))
}
function omitBackboneOptsAsProps ( subject , omit ) { console . log ( "omitBackboneOptsAsProps:" ) console . log ( subject , subject . options , omit , _ . omit ( subject . options , omit ) ) backboneOptsAsProps ( subject , _ . omit ( subject . options , omit ) ) }
It takes a Backbone Object as subject and return same object without omit
@param subject Backbone.Object, the object to operate over
@param omit Array, the keys from subjet.options to omit
@return void
It takes a Backbone Object as subject and return same object without omit