How to use the Marionette function from backbone
Find comprehensive JavaScript backbone.Marionette code examples handpicked from public code repositorys.
119 120 121 122 123 124 125 126 127
return Marionette.ItemView.extend({ /* do something here */ }); // bad (access Marionette from Backbone) var Backbone = require('backbone'); return Backbone.Marionette.ItemView.extend({ /* do something here */ }); ``` **[⬆ back to top](#table-of-contents)**
42
156
52
75 76 77 78 79 80 81 82 83 84
var ProvisionVmTemplate = require('../tpl/provision-vm.hbs'); var TypeaheadUser = require('./typeahead-user'); var View = Backbone.Marionette.Layout.extend({ url: 'provision', sidebar: 'vms', template: ProvisionVmTemplate, regions: {
26
0
1
+ 17 other calls in file
backbone.View is the most popular function in backbone (151 examples)