could you please tell me how to load precomplied templates .I googled it and find a solution .Now I don't know how to use this function.could you please tell me how to use this function ? code: http://goo.gl/ALfkzf  Backbone.Marionette.TemplateCa...
Generally, the user enters the website through the home page and then I render the sidebar view there. Next, the user clicks a link and the router renders another view and replaces the original content view. The sidebar view is not re-rendered.   Whe...
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...
Basically what I need is to do something like this  App.CommentView = Backbone.View.extend({   className: function() {     if (this.model.get('parent_id')) {       return 'comment comment-reply';     } else {      return 'comment&...
I'm trying to make a simple view to test with backbone. I've started with events, but no one fires. Why ? I've made already other things with backbone like routing etc. without problems. Thanks for your time. My backbone definitions are f...
I'm trying to figure out following scenario:  Lets say that I have two views: one for viewing items and one for buying them. The catch is that buying view is a sub view for viewing.   For routing I have:  var MyRouter = Backbone.Router.extend({...
I'm currently working on a project that's using .NET MVC on the back end and Backbone (v1.1) with Marionette JS (v1.8.5) on the front end and I am experiencing some performance issues when trying to render a Composite view with 200 results or...
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=&...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.