Merge pull request #6989 from JakubOnderka/moment-update

chg: [internal] Update moment javascript library
pull/6994/head
Jakub Onderka 2021-02-10 11:42:05 +01:00 committed by GitHub
commit a84bf72bd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 14499 deletions

View File

@ -1,5 +1,4 @@
<?php echo $this->Html->script('moment-with-locales'); ?>
<?= $this->Html->script('moment.min'); ?>
<script>
<?php
$temp = explode('_', $this->params->controller);

View File

@ -201,7 +201,7 @@
if ($canEdit) {
echo $this->element('genericElements/assetLoader', array(
'js' => array(
'moment-with-locales',
'moment.min',
'codemirror/codemirror',
'codemirror/modes/markdown',
'codemirror/addons/simplescrollbars',
@ -221,4 +221,4 @@
if (!empty($additionalMarkdownElements)) {
echo $this->element($additionalMarkdownElements['path'], $additionalMarkdownElements['variables']);
}
?>

View File

@ -27,7 +27,7 @@
</div>
<?php
echo $this->Html->script('moment-with-locales');
echo $this->Html->script('moment.min');
echo $this->Html->script('event-timeline');
echo $this->Html->css('event-timeline');
?>

View File

@ -5,7 +5,7 @@
echo $this->element('/genericElements/SideMenu/side_menu', array('menuList' => 'event', 'menuItem' => 'viewEvent', 'mayModify' => $mayModify, 'mayPublish' => $mayPublish));
echo $this->Html->script('doT');
echo $this->Html->script('extendext');
echo $this->Html->script('moment-with-locales');
echo $this->Html->script('moment.min');
echo $this->Html->css('query-builder.default');
echo $this->Html->script('query-builder');
echo $this->Html->css('attack_matrix');

View File

@ -192,7 +192,7 @@
echo $this->element('/genericElements/SideMenu/side_menu', array('menuList' => 'event-collection', 'menuItem' => 'rest'));
echo $this->element('genericElements/assetLoader', array(
'js' => array(
'moment-with-locales',
'moment.min',
'extendext',
'doT',
'query-builder',

File diff suppressed because it is too large Load Diff

2
app/webroot/js/moment.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long