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
Think I got it.  Data I assume is default and can be overridden with Model.model.  so given:
  1. {
  2.       "someKey: [
  3.             {},
  4.             {},
  5.             {}
  6.       ]
  7. }
      I have to have
  1. var SomeModel = can.Model.extend({
  2.       findAll: 'GET  /json/file.json',
  3.       models: 'someKey'
  4. });

Viewing all articles
Browse latest Browse all 3491

Trending Articles