dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
Bump async from 0.2.9 to 2.6.4 … (compare)
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
Bump async from 2.6.0 to 2.6.4 … (compare)
dependabot[bot] on npm_and_yarn
Bump async from 0.2.9 to 3.2.2 … (compare)
dependabot[bot] on npm_and_yarn
Bump async from 2.6.0 to 3.2.2 … (compare)
path: this.jsPath(),
contentType: 'javascript',
cachePeriod: this.options.cachePeriod,
source: moonboots.jsSource,
middleware: this.middleware.js
})
render: function () {
//custom stuff before
view.prototype.render.call(this);
//custom stuff after
}
$ git clone https://github.com/wraithgar/moonboots_hapi.git
$ cd moonboots_hapi/
$ git checkout v7.0.0
$ npm install
$ npm test
23 tests complete
Test duration: 1900 ms
The following leaks were detected:Reflect
Coverage: 85.29% (25/170)
index.js missing coverage on line(s): 6, 16, 19, 31, 37, 48, 54, 55, 56, 57, 58, 59, 77, 78, 79, 80, 81, 96, 97, 98, 99, 100, 121, 128, 142
npm ERR! Test failed. See above for more details.
import {LayoutView} from 'backbone.marionette';
import template from './template';
export default LayoutView.extend({
modelEvents: {
change: 'render'
},
template: template,
templateHelpers() {
return this.model.toJSON();
}
});
save()
on my ampersand-model the derived and children fields are posted to the api along with the props. is there a way to stop this happening? I have a projectId
prop and a project
is one of the model's children. I only want to send the projectId
to the api on save, not the project
model