Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Conventions, strategy, syntax, file extension for external mustache views/templates?

$
0
0
So I'm confused, do my returned JSON arrays returned with findAll() have to have "data" as the key?  Testing now I get an error if it is not "data"

[ErrorObject"success"Object]

  1. message"Could not get any raw data while converting using .models"

I assume their is an override for this?

  1. {
  2.       "canThisBeAnything?": [
  3.             {
  4.                   "key": "val"
  5.             },
  6.             ...
  7.       ]
  8. }

Viewing all articles
Browse latest Browse all 3491

Trending Articles