lib/js/SidebarView.js
function(e) {
      var t = this,
          item = $(e.currentTarget),
          id = item.attr('data-id'),
          path = item.attr('data-path');

      // Process a tour selection
      if ($(e.currentTarget).parents('.nm-sb-tours').length) {
        UI.pageView.runTour(path);
        return;
      }

      // Process a page selection
      UI.pageView.navigateTo(path);
    }
function(e) {
      var t = this,
          item = $(e.currentTarget),
          id = item.attr('data-id'),
          path = item.attr('data-path');

      // Process a tour selection
      if ($(e.currentTarget).parents('.nm-sb-tours').length) {
        UI.pageView.runTour(path);
        return;
      }

      // Process a page selection
      UI.pageView.navigateTo(path);
    }
function ( e ) { var t = this , item = $ ( e . currentTarget ) , id = item . attr ( 'data-id' ) , path = item . attr ( 'data-path' ) ; // Process a tour selection if ( $ ( e . currentTarget ) . parents ( '.nm-sb-tours' ) . length ) { UI . pageView . runTour ( path ) ; return ; } // Process a page selection UI . pageView . navigateTo ( path ) ; }
Process an item selection
Process an item selection