backbone.marionette
backbone.marionette copied to clipboard
ui, events,regions selector doesn't scoped to current view
When create layout using ui definition in view, it didn't scoped to the current view. It was kind useless when the selector select element outside the view, and this would introduce bug in the application. This also affected on regions definition, events an others definition that utilize selector inside view. For now i just select the element in the current view using backbone view this.$('selector') that will solve the problem and ignore all everything marionette view offers.