New Participant
March 2, 2016
Solved
Additional 'default' clientlib/scripts being included. How do I remove them?
- March 2, 2016
- 3 replies
- 992 views
Hi guys,
I am seeing additional default scripts and styles being added to my page despite my custom clientlib having no dependencies or embedding. The only files that should be there are dashboard.css and dashboard.js. Any help appreciated, thanks!
Here is the code for my jsp page:
<%@include file="/libs/foundation/global.jsp" %> <!DOCTYPE html> <html ng-app="app"> <head> <cq:includeClientLib categories="dashboard"/> <style> /* This helps the ng-show/ng-hide animations start at the right place. */ /* Since Angular has this but needs to load, this gives us the class early. */ .ng-hide { display: none!important; } </style> <title ng-bind="title">aos-dashboard</title> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> <link rel="icon" type="image/png" href="<%=currentDesign.getPath()%>/dashboard/img/favicon/hotwater.ico"> <base href="https://forums.adobe.com/"> </head> <body> <div ng-include="'app/layout/shell.html'"></div> </body> </html>