When I create a new model, session = new OLBT.Models.Session(), I get this error: Uncaught TypeError: Cannot call method 'hasOwnProperty' of undefined. Looks like maybeUnwrap is choking when no args are passed in. Not sure what this does yet, but checking if typeof(args) != 'undefined' before continuing fixes it.
Am I doing something wrong, or is this a valid issue?
I'm new to backbone, but this doesn't look like it should be happening. I have a session model:
When I create a new model,
session = new OLBT.Models.Session()
, I get this error:Uncaught TypeError: Cannot call method 'hasOwnProperty' of undefined
. Looks likemaybeUnwrap
is choking when noargs
are passed in. Not sure what this does yet, but checking iftypeof(args) != 'undefined'
before continuing fixes it.Am I doing something wrong, or is this a valid issue?