Fix a couple problems calling RB.BaseResource.prototype.defaults
Review Request #8148 — Created May 6, 2016 and submitted
There were a couple places that used
BaseResource.defaults
as if it were
just an object rather than a function. This fixes those up.
Ran js-tests.
- Commit:
-
54dd2bb2018c692a0897bce9b5d489e405c11b55f79893c1c115c18b2f21b2326af880ffdbb92c53
- Diff:
-
Revision 2 (+89 -67)
-
Tool: Pyflakes Ignored Files: reviewboard/static/rb/js/resources/models/screenshotModel.es6.js reviewboard/static/rb/js/resources/models/diffModel.es6.js reviewboard/static/rb/js/resources/models/repositoryCommitModel.es6.js reviewboard/static/rb/js/resources/models/repositoryBranchModel.es6.js reviewboard/static/rb/js/resources/models/reviewGroupModel.es6.js reviewboard/static/rb/js/resources/models/fileDiffModel.es6.js reviewboard/static/rb/js/resources/models/repositoryModel.es6.js reviewboard/static/rb/js/resources/models/fileAttachmentModel.es6.js reviewboard/static/rb/js/models/userSessionModel.js Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/js/resources/models/screenshotModel.es6.js reviewboard/static/rb/js/resources/models/diffModel.es6.js reviewboard/static/rb/js/resources/models/repositoryCommitModel.es6.js reviewboard/static/rb/js/resources/models/repositoryBranchModel.es6.js reviewboard/static/rb/js/resources/models/reviewGroupModel.es6.js reviewboard/static/rb/js/resources/models/fileDiffModel.es6.js reviewboard/static/rb/js/resources/models/repositoryModel.es6.js reviewboard/static/rb/js/resources/models/fileAttachmentModel.es6.js reviewboard/static/rb/js/models/userSessionModel.js