All Questions
7
questions
5
votes
1
answer
2k
views
Uncaught SyntaxError: Unexpected token import in "backbone.radio.js"
I'm trying to migrate an application from Backbone to Marionette (v3), but I got stuck in a point for two days already.
When I try to run the app in browser, this error shows up in the console (and ...
0
votes
0
answers
518
views
Dynamic Menus from JSON REST API using backbone.js
I'm newbie in Backbone.js, Marionette.js, underscore.js and require.js frameworks.
I'm trying to build a dynamic menu by calling REST API which returns a JSON array format.
Here is my JSON response :-...
0
votes
1
answer
44
views
How to understand that required layout has already been created?
In my app I have some pages that have a similar design and a home page with absolutely different design. So, my question is how to understand that required layout (for pages with similar design) has ...
0
votes
1
answer
1k
views
Cannot render the template since it's false, null or undefined
I am working on template system using backbone.marionette.js.
Here is my code.
index.html
<div data-role="header" class="header">
</div>
<div id="main" class="p-relative">
&...
0
votes
2
answers
2k
views
best pratice to compile all templates files in a unique file with backbone/marionette
I have a huge application built with Backbone, Marionette, Require.js and this is an example of the view that I'm using:
define([
'backbone',
'text!templates/oauth.html'
], function (Backbone, ...
-1
votes
1
answer
299
views
Backbone Marionette: parameters undefined in view (data is defined)
The data that I'm trying to pass to my template is inexplicably ignored when it gets to underscore's template renderer.
The data is available:
Yet I get an exception in the console that the param ...
0
votes
1
answer
4k
views
Uncaught TypeError: Cannot read property 'EventAggregator' of undefined (Backbone, Marionette, RequireJS)
Creating a new application with Backbone.Marionette, when I run the Express app and load the page I get an error in the console:
Uncaught TypeError: Cannot read property 'EventAggregator' of ...