Seperates custom library code from external.
This commit is contained in:
@@ -7,10 +7,18 @@ qTip2:
|
|||||||
gpl-compatible: true
|
gpl-compatible: true
|
||||||
js:
|
js:
|
||||||
https://cdnjs.cloudflare.com/ajax/libs/qtip2/3.0.3/jquery.qtip.min.js: { type: external, minified: true }
|
https://cdnjs.cloudflare.com/ajax/libs/qtip2/3.0.3/jquery.qtip.min.js: { type: external, minified: true }
|
||||||
js/tooltip.js: { }
|
|
||||||
css:
|
css:
|
||||||
theme:
|
theme:
|
||||||
https://cdnjs.cloudflare.com/ajax/libs/qtip2/3.0.3/jquery.qtip.min.css: { type: external, minified: true }
|
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: { }
|
css/tooltip.css: { }
|
||||||
dependencies:
|
dependencies:
|
||||||
- core/jquery
|
- core/jquery
|
||||||
|
|||||||
@@ -47,7 +47,8 @@ class TooltipTextFormatter extends DesaiTextFormatterBase {
|
|||||||
],
|
],
|
||||||
'#attached' => [
|
'#attached' => [
|
||||||
'library' => [
|
'library' => [
|
||||||
'cdesai_tff/qTip2'
|
'cdesai_tff/qTip2',
|
||||||
|
'cdesai_tff/tooltip',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user