Load missing JS libs

pull/2635/head
Angel Fernando Quiroz Campos 7 years ago
parent b3fd581289
commit 1cf8696b35
  1. 22
      assets/js/app.js
  2. 3
      package.json

@ -1,6 +1,10 @@
const routes = require('../../public/js/fos_js_routes.json');
import Routing from '../../vendor/friendsofsymfony/jsrouting-bundle/Resources/public/js/router.min.js';
require('image-map-resizer');
import 'image-map-resizer';
import 'jquery.scrollbar';
import 'jquery-ui/ui/widgets/datepicker';
import 'jquery-ui/ui/widgets/tooltip';
import 'chosen-js';
Routing.setRoutingData(routes);
@ -270,14 +274,14 @@ $(function() {
// Mediaelement
//if ( {{ show_media_element }} == 1) {
$('video:not(.skip), audio:not(.skip)').mediaelementplayer({
pluginPath: _p.web + 'web/assets/mediaelement/build/',
//renderers: ['html5', 'flash_video', 'native_flv'],
features: ['{{ video_features }}'],
success: function(mediaElement, originalNode, instance) {
},
vrPath: _p.web + 'web/assets/vrview/build/vrview.js'
});
// $('video:not(.skip), audio:not(.skip)').mediaelementplayer({
// pluginPath: _p.web + 'web/assets/mediaelement/build/',
// //renderers: ['html5', 'flash_video', 'native_flv'],
// features: ['{{ video_features }}'],
// success: function(mediaElement, originalNode, instance) {
// },
// vrPath: _p.web + 'web/assets/vrview/build/vrview.js'
// });
//}
// Table highlight.

@ -25,8 +25,9 @@
"fs": "0.0.1-security",
"fullcalendar": "3.1.0",
"highlight.js": "^9.12.0",
"image-map-resizer": "^1.0.3",
"image-map-resizer": "^1.0.7",
"jquery": "^3.3.1",
"jquery-ui": "^1.12.1",
"jquery-ui-timepicker-addon": "^1.6.3",
"jquery.scrollbar": "^0.2.11",
"jsplumb": "^2.6.9",

Loading…
Cancel
Save