Skip to content

steal.dev.warn on empty models#110

Merged
polgfred merged 1 commit intojupiterjs:masterfrom
raspberryman:master
Jan 19, 2012
Merged

steal.dev.warn on empty models#110
polgfred merged 1 commit intojupiterjs:masterfrom
raspberryman:master

Conversation

@raspberryman
Copy link
Contributor

Steps to reproduce:

  1. Return a models fixture with an object instead of an array

Result:

try/catch on jquery.js #7371 fails, preventing the informative steal.dev.warn on model.js #1015 from displaying in console.

Expected result:

steal.dev.warn on model.js #1015 reports that the models is empty and should be a model.

polgfred added a commit that referenced this pull request Jan 19, 2012
steal.dev.warn on empty models
@polgfred polgfred merged commit b04b037 into jupiterjs:master Jan 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants