Seperates custom library code from external.

This commit is contained in:
2021-02-18 10:01:57 +00:00
parent 01c01ed99c
commit 68181b8b71
2 changed files with 11 additions and 2 deletions
+9 -1
View File
@@ -7,10 +7,18 @@ qTip2:
gpl-compatible: true
js:
https://cdnjs.cloudflare.com/ajax/libs/qtip2/3.0.3/jquery.qtip.min.js: { type: external, minified: true }
js/tooltip.js: { }
css:
theme:
https://cdnjs.cloudflare.com/ajax/libs/qtip2/3.0.3/jquery.qtip.min.css: { type: external, minified: true }
dependencies:
- core/jquery
tooltip:
version: 1.x
js:
js/tooltip.js: { }
css:
theme:
css/tooltip.css: { }
dependencies:
- core/jquery
@@ -47,7 +47,8 @@ class TooltipTextFormatter extends DesaiTextFormatterBase {
],
'#attached' => [
'library' => [
'cdesai_tff/qTip2'
'cdesai_tff/qTip2',
'cdesai_tff/tooltip',
],
],
];