Issue #2393713 by droplet, nod_: Update JS lib: jquery.form to 3.5.1

8.0.x
webchick 2015-04-18 06:33:10 -07:00
parent 77152e7ad5
commit 53c8046415
4 changed files with 14 additions and 1281 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -359,13 +359,13 @@ jquery.farbtastic:
jquery.form:
remote: https://github.com/malsup/form
version: "3.50"
version: "3.51"
license:
name: GNU-GPL-2.0-or-later
url: http://malsup.github.com/gpl-license-v2.txt
gpl-compatible: true
js:
assets/vendor/jquery-form/jquery.form.js: {}
assets/vendor/jquery-form/jquery.form.min.js: { minified: true }
dependencies:
- core/jquery

View File

@ -424,7 +424,7 @@ class AttachedAssetsTest extends KernelTestBase {
$js = $this->assetResolver->getJsAssets($assets, FALSE)[1];
$js_render_array = \Drupal::service('asset.js.collection_renderer')->render($js);
$rendered_js = $this->renderer->render($js_render_array);
$this->assertTrue(strpos($rendered_js, 'core/assets/vendor/jquery-form/jquery.form.js'), 'Altered library dependencies are added to the page.');
$this->assertTrue(strpos($rendered_js, 'core/assets/vendor/jquery-form/jquery.form.min.js'), 'Altered library dependencies are added to the page.');
}
/**