Questions tagged [batman.js]

batman.js is an MVC framework for building rich single-page browser applications. It is written in CoffeeScript and its API is developed with CoffeeScript in mind, but of course you can use plain old JavaScript too.

50 questions
1
vote
1 answer

Nested models not created as batman objects

Given the following models with one-to-many relationship: class App.Post extends Batman.Model @hasMany 'comments' class App.Comment extends Batman.Model @belongsTo 'post' My comments are included in the JSON of the post from the backend. Since…
Raymundus
  • 2,173
  • 1
  • 20
  • 35
1
vote
1 answer

Batman.js model encoding issue

I'm running into an interesting issue with a complex model association. I have a Project, which has many Tasks, as well as a sole Task that it derives it's own information from. (Tasks can be converted to Projects to embed additional Tasks…
tylerkern
  • 121
  • 9
1
vote
1 answer

Is it possible to use Batman.js with cordova?

I can't get it to work, and I think it is due to Unfortunately, due to awesome browser security things, you can't run index.html directly from the directory. You can use literally any server mechanism as long as you're running the app from…
Pedro Bernardes
  • 706
  • 1
  • 8
  • 20
1
vote
1 answer

Filtering data-foreach rendering view with option dropdown, BatmanJS

I am just trying to manipulate the table populated by Batman JS to filter out entries with a dropdown option box. (html view code)