lib/js/PageView.js
function() {
      var t = this,
          isEditMode = t.$el.hasClass('edit-mode'),
          text = isEditMode ? 'Lock Components' : 'Edit Components',
          icon = isEditMode ? 'lock' : 'edit';
      t.$('.nm-pvm-lock').text(text);
      t.$('.nm-pvm-edit i').attr('class', 'icon-' + icon);
    }
function() {
      var t = this,
          isEditMode = t.$el.hasClass('edit-mode'),
          text = isEditMode ? 'Lock Components' : 'Edit Components',
          icon = isEditMode ? 'lock' : 'edit';
      t.$('.nm-pvm-lock').text(text);
      t.$('.nm-pvm-edit i').attr('class', 'icon-' + icon);
    }
function ( ) { var t = this , isEditMode = t . $el . hasClass ( 'edit-mode' ) , text = isEditMode ? 'Lock Components' : 'Edit Components' , icon = isEditMode ? 'lock' : 'edit' ; t . $ ( '.nm-pvm-lock' ) . text ( text ) ; t . $ ( '.nm-pvm-edit i' ) . attr ( 'class' , 'icon-' + icon ) ; }
This sets the edit menu text and icon
This sets the edit menu text and icon