Elgg  Version 6.1
views.php
Go to the documentation of this file.
1 <?php
2 return [
3  // viewtype
4  "default" => [
5  // view => path
6 
12  "jquery.js" => "vendor/npm-asset/jquery/dist/jquery.min.js",
13  "jquery.min.map" => "vendor/npm-asset/jquery/dist/jquery.min.map",
14  "jquery-ui.js" => "vendor/npm-asset/jquery-ui/dist/jquery-ui.min.js",
15 
16  "jquery.colorbox.js" => "vendor/npm-asset/jquery-colorbox/jquery.colorbox-min.js",
17  "jquery.ui.touch-punch.js" => "vendor/npm-asset/jquery-ui-touch-punch/jquery.ui.touch-punch.js",
18  "sprintf.js" => "vendor/npm-asset/sprintf-js/src/sprintf.js",
19 
20  // need to use some folder structure, because FontAwesome includes fonts relative to css
21  "font-awesome/" => "vendor/fortawesome/font-awesome/",
22 
23  "jquery-ui/" => "vendor/npm-asset/jquery-ui/ui",
24  "tagify/" => "vendor/npm-asset/yaireo--tagify/dist",
25 
26  // CSS Reset
27  "normalize.css" => "vendor/npm-asset/normalize.css/normalize.css",
28 
29  // CropperJS
30  "cropperjs/" => "vendor/npm-asset/cropperjs/dist/",
31  "jquery-cropper/" => "vendor/npm-asset/jquery-cropper/dist/",
32 
36  "jquery.ui.autocomplete.html.js" => dirname(__DIR__) . "/bower_components/jquery-ui-extensions/src/autocomplete/jquery.ui.autocomplete.html.js",
37  ],
38 ];