Respond.js and matchMedia() polyfill (same script)
https://github.com/scottjehl/Respond

Dual licensed under the MIT or GPL Version 2 licenses.
https://github.com/scottjehl/Respond/blob/master/README.md

Issue discussed here about putting it in core
http://drupal.org/node/1322794#comment-5605878

Project it's already included in:
http://drupal.org/project/zen
http://drupalcode.org/project/zen.git/blob/refs/heads/7.x-5.x:/js/html5-...

Comments

KrisBulman’s picture

I was informed on IRC this list only applies to installation profiles (basically everything that uses Drush make) and not core themes or contrib themes. The latter part of my ticket (projects that use these libs) is not valid.

alexweber’s picture

As far as I know if it's used in a module/theme it's fine.

Another theme that uses this is Zentropy.

Therefore,+1!

geerlingguy’s picture

Status: Active » Closed (works as designed)

I don't think we would need to add these URLs to the whitelist; if a module requires one of these libraries, we could add it to the whitelist, but if a theme uses one of them, doesn't the theme typically just add it to its own repository? (That's how I've done it with most of my themes... as long as the license is GPL v2 compatible).

alexweber’s picture

Fair enough!

dww’s picture

Status: Closed (works as designed) » Active

Themes are no different than modules. We shouldn't be committing 3rd party code to git.d.o for situations like this. Instead, we should address this via #1477138: Allow modules and themes to package external libraries, and in that case, we're going to want packaging whitelist entries for these libraries.

We'll probably also want these libraries on the whitelist soon, anyway, for any distro that tries to include Zen (which is an extremely popular base theme).

geerlingguy’s picture

Status: Active » Reviewed & tested by the community

Okay, then RTBC by me.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Oops. Didn't see this one. Respond.js got added in #1509856: Add Respond.JS Library to Whitelist. So this seems to be fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.