diff -u b/core/modules/picture/picture.module b/core/modules/picture/picture.module --- b/core/modules/picture/picture.module +++ b/core/modules/picture/picture.module @@ -84,13 +84,6 @@ * Implements hook_library_info(). */ function picture_library_info() { - // This is an adapted version of the polyfill: - // - Title was missing, to stay as close as possible to img, we added it. - // @see https://github.com/ResponsiveImagesCG/picture-element/issues/51 - // - Width and height are added to avoid reflow. - // @see https://github.com/ResponsiveImagesCG/picture-element/issues/50 - // - Use of querySelectorAll, to improve speed, since we don't support IE8. - // - Uses domready to be inline with other Drupal 8 js. $libraries['picturefill'] = array( 'title' => t('Picturefill'), 'website' => 'http://drupal.org/node/1775530', diff -u b/core/modules/picture/picturefill/picturefill.js b/core/modules/picture/picturefill/picturefill.js --- b/core/modules/picture/picturefill/picturefill.js +++ b/core/modules/picture/picturefill/picturefill.js @@ -1,5 +1,14 @@ /*jshint loopfunc: true, browser: true, curly: true, eqeqeq: true, expr: true, forin: true, latedef: true, newcap: true, noarg: true, trailing: true, undef: true, unused: true */ -/*! Picturefill - Author: Scott Jehl, 2012 | License: MIT/GPLv2 */ +/*! Original Picturefill - Author: Scott Jehl, 2012 | License: MIT/GPLv2 */ +/* + * This is an adapted version of the polyfill: + * - Title was missing, to stay as close as possible to img, we added it. + * @see https://github.com/ResponsiveImagesCG/picture-element/issues/51 + * - Width and height are added to avoid reflow. + * @see https://github.com/ResponsiveImagesCG/picture-element/issues/50 + * - Use of querySelectorAll, to improve speed, since we don't support IE8. + * - Uses domready to be inline with other Drupal 8 js. + */ (function (w, domready) { // Enable strict mode.