file navbar.module

/**
 * Implements hook_modernizr_info().
 */
function navbar_modernizr_info() {
  $tests = array();

  // Feature tests
  $tests[] = 'inputtypes';
  $tests[] = 'svg';
  $tests[] = 'touch'; // needs to change to "touchevents"
  $tests[] = 'elem_details'; // needs to change to "details"

  // Extensibility
  $tests[] = 'addtest';
  $tests[] = 'teststyles';
  $tests[] = 'prefixes';

  return $tests;
}

I would be willing to write a patch but am not sure of the repercussions for modernizr 2 users.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DrCord created an issue. See original summary.

berliner’s picture

Run into this too. Patch attached.

berliner’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: 2678136-modernizr3-test-names-changed-2.patch, failed testing.

berliner’s picture

Not sure why the test failed. Added better patch that also changes the modernizr download url to replace the outdated test names with their new values.

lwalley’s picture

Status: Needs work » Needs review