kai-jacobsen/kontentblocks

View on GitHub
js/src/backend/Views/ModuleUi/ModuleUiView.js

Summary

Maintainability
A
2 hrs
Test Coverage
var ControlsView = require('backend/Views/ModuleControls/ControlsView');
module.exports = ControlsView.extend({
  initialize: function () {
    this.$menuWrap = jQuery('.ui-wrap', this.$el); //set outer element
    this.$menuWrap.append("<div class='ui-actions'></div>"); // render template
    this.$menuList = jQuery('.ui-actions', this.$menuWrap);
  }
});