Gigi lim
Gigi lim

Reputation: 3

backbone jsffidle failed to load external resource

App.module("SampleModule", function(Mod, App, Backbone, Marionette, $, _){

});

https://jsfiddle.net/y495pz84/

The fiddle load nothing, I checked the path which included they are working files, they did not down. But the console said it must be load with https, I wonder what's wrong there. I found many fiddle down due to the same reasons.

Upvotes: 0

Views: 99

Answers (1)

miphe
miphe

Reputation: 1863

It looks like you're using some deprecated methods from Marionette, please review your use of addRegion and module. You can review the correct version of the documentation here.

Also, Marionette >3.x (which you're including) depends on Backbone.Radio. Don't forget to include that in your project as well.

JSFiddle is pretty flimsy and non-straight forward (imho), so I tend to use Plunker instead. I created a working plunker for you here.

Upvotes: 1

Related Questions