lib/js/PageView.js
function(model) {
      var t = this,
          componentView = new ComponentView({model: model});
      componentView.$el
        .addClass('nm-pv-component')
        .data('view', componentView);
      componentView.render();
      t.canvas.append(componentView.$el);
      t.componentViews[model.get('id')] = componentView;
    }
function(model) {
      var t = this,
          componentView = new ComponentView({model: model});
      componentView.$el
        .addClass('nm-pv-component')
        .data('view', componentView);
      componentView.render();
      t.canvas.append(componentView.$el);
      t.componentViews[model.get('id')] = componentView;
    }
function ( model ) { var t = this , componentView = new ComponentView ( { model : model } ) ; componentView . $el . addClass ( 'nm-pv-component' ) . data ( 'view' , componentView ) ; componentView . render ( ) ; t . canvas . append ( componentView . $el ) ; t . componentViews [ model . get ( 'id' ) ] = componentView ; }
Add a component to the canvas
Add a component to the canvas