(attributes, options)
| 34 | } |
| 35 | |
| 36 | constructor (attributes, options) { |
| 37 | super(...arguments) |
| 38 | if (_.isObject(attributes) && ('undefined' in attributes)) { |
| 39 | console.error(`Unsetting \`undefined\` property key during construction of ${this.constructor.className} model with value ${attributes.undefined}`) |
| 40 | delete attributes.undefined |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | initialize (attributes, options) { |
| 45 | super.initialize(...arguments) |