Elgg  Version 4.x
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 
15  "jquery.colorbox.js" => "vendor/npm-asset/jquery-colorbox/jquery.colorbox-min.js",
16  "jquery.ui.touch-punch.js" => "vendor/npm-asset/jquery-ui-touch-punch/jquery.ui.touch-punch.js",
17  "require.js" => "vendor/npm-asset/requirejs/require.js",
18  "text.js" => "vendor/npm-asset/requirejs-text/text.js",
19  "sprintf.js" => "vendor/npm-asset/sprintf-js/src/sprintf.js",
20 
21  // need to use some folder structure, because FontAwesome includes fonts relative to css
22  "font-awesome/" => "vendor/fortawesome/font-awesome/",
23 
24  "jquery-ui/" => "vendor/npm-asset/jquery-ui/ui",
25  "tagify/" => "vendor/npm-asset/yaireo--tagify/dist",
26 
31  "jquery.ui.autocomplete.html.js" => dirname(__DIR__) . "/bower_components/jquery-ui-extensions/src/autocomplete/jquery.ui.autocomplete.html.js",
32 
33  // CSS Reset
34  "normalize.css" => "vendor/npm-asset/normalize.css/normalize.css",
35 
36  // CropperJS
37  "cropperjs/" => "vendor/npm-asset/cropperjs/dist/",
38  "jquery-cropper/" => "vendor/npm-asset/jquery-cropper/dist/",
39  ],
40 ];