Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
KrisBulman CreditAttribution: KrisBulman commentedI 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.
Comment #2
alexweber CreditAttribution: alexweber commentedAs far as I know if it's used in a module/theme it's fine.
Another theme that uses this is Zentropy.
Therefore,+1!
Comment #3
geerlingguy CreditAttribution: geerlingguy commentedI 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).
Comment #4
alexweber CreditAttribution: alexweber commentedFair enough!
Comment #5
dwwThemes 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).
Comment #6
geerlingguy CreditAttribution: geerlingguy commentedOkay, then RTBC by me.
Comment #7
webchickOops. Didn't see this one. Respond.js got added in #1509856: Add Respond.JS Library to Whitelist. So this seems to be fixed.