I'm new to this world and I need to understand some of the concepts of Backbone and Marionette. Here I'm trying to explain some of the concepts I'm learning. It would be great to having some feedback on them.  The render function defines...
Edit  According the Hammer Github page this bug was due to Manager leaks and should be fixed in the 2.0.5 version - this version is not built online but one can built it by himself. More info can be found here  =======================================...
I'm trying to switch the tagName of a Backbone view based on a condition.  I initially thought I would be able to set a default tagName of say 'div' (I realize this is the default), then in the view's initialize function, check for th...
MY simple form template is like this  <script type="text/template" id="template"> <form id="myForm " > <fieldset>     <label>Name</label>     <input type="text" id="name" name=&...
I have the next code to replace content using Backbone.js  jsfiddle  I don't know why the checkbox button grows when the content is replaced. Simply, I use the next code to checkbox   $('.checkWeek').button();...
I am looking for a way to create global bindings that will span all views within the app, so that I do not have to set up these within each view individually.  Bonus points if suggested mechanism has a way for individual input fields or views to opt...
Here's the goal: I have a parent model. It is in a collection called parents. In a parent is a collection of children. So, when I instantiate the parents collection, I get the parent models, each with the collection of children in them.  I've...
I want to build a simple backbone app for depositing and withdrawing funds via Stripe. Since a lot of the functionality is common, I placed that in a Stripe view, and extend the Deposit and Withdraw views from it, like so:  var App = {     Models: {}...
I am relatively new to Backbone and I am running into this problem.  I am using Backbone with DustJS  My template looks something like this - index.dust  <div id="parentView">   <div class="section">     {>"app/inc/...
backbone newbie here. I'd like to start using backbone on an web app (backend is Ruby on Rails), which until now had very little client functionality (some jquery for doing slideToggles, and a couple ajax calls).  One of the problems I'm faci...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.