Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
029a18d7
Commit
029a18d7
authored
Mar 04, 2014
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2203435
by sun: Move all external libraries from core modules into core.libraries.yml.
parent
afa38dc2
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
25 deletions
+24
-25
core/assets/vendor/jquery-joyride/joyride-2.0.3.css
core/assets/vendor/jquery-joyride/joyride-2.0.3.css
+0
-0
core/assets/vendor/jquery-joyride/jquery.joyride-2.0.3.js
core/assets/vendor/jquery-joyride/jquery.joyride-2.0.3.js
+0
-0
core/assets/vendor/picturefill/picturefill.js
core/assets/vendor/picturefill/picturefill.js
+0
-0
core/core.libraries.yml
core/core.libraries.yml
+22
-0
core/modules/picture/lib/Drupal/picture/Plugin/Field/FieldFormatter/PictureFormatter.php
.../picture/Plugin/Field/FieldFormatter/PictureFormatter.php
+1
-1
core/modules/picture/picture.libraries.yml
core/modules/picture/picture.libraries.yml
+0
-10
core/modules/tour/tour.libraries.yml
core/modules/tour/tour.libraries.yml
+1
-14
No files found.
core/
modules/tour/css
/joyride-2.0.3.css
→
core/
assets/vendor/jquery-joyride
/joyride-2.0.3.css
View file @
029a18d7
File moved
core/
modules/tour/js
/jquery.joyride-2.0.3.js
→
core/
assets/vendor/jquery-joyride
/jquery.joyride-2.0.3.js
View file @
029a18d7
File moved
core/
modules/picture
/picturefill/picturefill.js
→
core/
assets/vendor
/picturefill/picturefill.js
View file @
029a18d7
File moved
core/core.libraries.yml
View file @
029a18d7
...
...
@@ -324,6 +324,18 @@ jquery.intrinsic:
dependencies
:
-
core/jquery
jquery.joyride
:
remote
:
https://github.com/zurb/joyride
version
:
v2.0.3
js
:
assets/vendor/jquery-joyride/jquery.joyride-2.0.3.js
:
{}
css
:
component
:
assets/vendor/jquery-joyride/joyride-2.0.3.css
:
{
media
:
screen
}
dependencies
:
-
core/jquery
-
core/jquery.cookie
jquery.once
:
remote
:
https://github.com/RobLoach/jquery-once
version
:
1.2.3
...
...
@@ -670,6 +682,16 @@ normalize:
base
:
assets/vendor/normalize-css/normalize.css
:
{
every_page
:
true
,
weight
:
-20
}
picturefill
:
remote
:
https://github.com/scottjehl/picturefill
# @todo Contribute upstream and/or replace with upstream version.
# @see https://drupal.org/node/1775530
version
:
VERSION
js
:
assets/vendor/picturefill/picturefill.js
:
{
weight
:
-10
}
dependencies
:
-
core/matchmedia
underscore
:
remote
:
https://github.com/jashkenas/underscore
version
:
1.5.2
...
...
core/modules/picture/lib/Drupal/picture/Plugin/Field/FieldFormatter/PictureFormatter.php
View file @
029a18d7
...
...
@@ -172,7 +172,7 @@ public function viewElements(FieldItemListInterface $items) {
$elements
[
$delta
]
=
array
(
'#theme'
=>
'picture_formatter'
,
'#attached'
=>
array
(
'library'
=>
array
(
array
(
'
pictu
re'
,
'picturefill'
),
array
(
'
co
re'
,
'picturefill'
),
)),
'#item'
=>
$item
,
'#image_style'
=>
$fallback_image_style
,
...
...
core/modules/picture/picture.libraries.yml
deleted
100644 → 0
View file @
afa38dc2
# @todo Move into /core/assets and core.library.yml.
picturefill
:
remote
:
https://github.com/scottjehl/picturefill
# @todo Contribute upstream and/or replace with upstream version.
# @see https://drupal.org/node/1775530
version
:
VERSION
js
:
picturefill/picturefill.js
:
{
weight
:
-10
}
dependencies
:
-
core/matchmedia
core/modules/tour/tour.libraries.yml
View file @
029a18d7
...
...
@@ -6,7 +6,7 @@ tour:
-
core/jquery
-
core/drupal
-
core/backbone
-
tour
/jquery.joyride
-
core
/jquery.joyride
-
tour/tour-styling
tour-styling
:
...
...
@@ -14,16 +14,3 @@ tour-styling:
css
:
component
:
css/tour.module.css
:
{
media
:
screen
}
# @todo Move into /core/assets and core.library.yml.
jquery.joyride
:
remote
:
https://github.com/zurb/joyride
version
:
v2.0.3
js
:
js/jquery.joyride-2.0.3.js
:
{}
css
:
component
:
css/joyride-2.0.3.css
:
{
media
:
screen
}
dependencies
:
-
core/jquery
-
core/jquery.cookie
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment