anchor.diff:        display = 'block';
         showInherited.innerHtml = 'Hide inherited';
       }
  -    showInherited.dataAttributes['show-inherited'] = display;
  +    showInherited.dataset['show-inherited'] = display;
       for (var elem in document.queryAll('.inherited')) {
         elem.style.display = display;
       }
  
positive.code: void setupLocation() {
    // Figure out where we are.
    final body = document.query('body');
    currentLibrary = body.dataAttributes['library'];
    currentType = body.dataAttributes['type'];
    prefix = (currentType != null) ? '../' : '';
  }
  
  
negative.code: void enableShowHideInherited() {
    var showInherited = document.query('#show-inherited');
    if (showInherited == null) return;
    showInherited.dataset.putIfAbsent('show-inherited', () => 'block');
    showInherited.onClick.listen((e) {
      String display = showInherited.dataset['show-inherited'];
      if (display == 'block') {
        display = 'none';
        showInherited.innerHtml = 'Show inherited';
  