Skip to content

Commit a2bfd25

Browse files
update
1 parent 27fd10b commit a2bfd25

12 files changed

Lines changed: 68914 additions & 11 deletions

File tree

Gruntfile.js

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ module.exports = function(grunt) {
5353
'src/main.less'
5454
],
5555
'src/css/main.css': [
56+
'node_modules/video.js/dist/video-js.css',
57+
'node_modules/@videojs/themes/dist/sea/index.css',
5658
'src/css/main.less'
5759
]
5860
}
@@ -285,6 +287,17 @@ module.exports = function(grunt) {
285287
//src: ['src/main.js'],
286288
//dest: 'assets/modules/food-module/js/main.js'
287289
},
290+
src: {
291+
options: {
292+
separator: "\n"
293+
},
294+
files: {
295+
'src/js/index.js': [
296+
'node_modules/video.js/dist/video.js',
297+
'src/js/main.js'
298+
]
299+
}
300+
}
288301
},
289302
uglify: {
290303
app: {
@@ -348,7 +361,32 @@ module.exports = function(grunt) {
348361
}
349362
},
350363
]
351-
}
364+
},
365+
/*src: {
366+
options: {
367+
sourceMap: false,
368+
compress: {
369+
drop_console: false
370+
},
371+
output: {
372+
ascii_only: true,
373+
}
374+
},
375+
files: [
376+
{
377+
expand: true,
378+
flatten : true,
379+
src: [
380+
'src/js/index.js',
381+
],
382+
dest: 'src/js',
383+
filter: 'isFile',
384+
rename: function (dst, src) {
385+
return dst + '/' + src.replace('.js', '.min.js');
386+
}
387+
}
388+
]
389+
}*/
352390
},
353391
copy: {
354392
main: {

assets/modules/food-module/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bower_components/datatables.net-select/js/dataTables.select.js
1212
* bower_components/datatables.net-bs/js/dataTables.bootstrap.js
1313
*
14-
* Last Update: 2025-12-04 14:23:39 GMT+0400
14+
* Last Update: 2025-12-12 16:40:01 GMT+0400
1515
*/
1616
/*!
1717
* JavaScript Cookie v2.2.1

assets/modules/food-module/js/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/modules/food-module/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Актуально для сайтов школ России
55
* Автор: Чернышёв Андрей aka ProjectSoft <projectsoft2009@yandex.ru>
66
* GitHub: https://github.com/ProjectSoft-STUDIONIONS/food-module#readme
7-
* Last Update: 2025-12-04 14:23:39 GMT+0400
7+
* Last Update: 2025-12-12 16:40:01 GMT+0400
88
*/
99
window.DT_table = false;
1010
(function (factory) {

assets/modules/food-module/js/main.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

install/assets/modules/foodmodule.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @license https://github.com/ProjectSoft-STUDIONIONS/food-module/blob/master/LICENSE MIT License (MIT)
1212
* @reportissues https://github.com/ProjectSoft-STUDIONIONS/food-module/issues
1313
* @author Чернышёв Андрей aka ProjectSoft <projectsoft2009@yandex.ru>
14-
* @lastupdate 2025-12-04
14+
* @lastupdate 2025-12-12
1515
*/
1616

1717
/**
@@ -27,7 +27,7 @@
2727
* @license https://github.com/ProjectSoft-STUDIONIONS/food-module/blob/master/LICENSE MIT License (MIT)
2828
* @reportissues https://github.com/ProjectSoft-STUDIONIONS/food-module/issues
2929
* @author Чернышёв Андрей aka ProjectSoft <projectsoft2009@yandex.ru>
30-
* @lastupdate 2025-12-04
30+
* @lastupdate 2025-12-12
3131
*/
3232

3333
require_once MODX_BASE_PATH . 'assets/modules/food-module/module.food-module.php';

install/assets/plugins/foodplugin.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* @license https://github.com/ProjectSoft-STUDIONIONS/food-module/blob/master/LICENSE MIT License (MIT)
1717
* @reportissues https://github.com/ProjectSoft-STUDIONIONS/food-module/issues
1818
* @author Чернышёв Андрей aka ProjectSoft <projectsoft2009@yandex.ru>
19-
* @lastupdate 2025-12-04
19+
* @lastupdate 2025-12-12
2020
*/
2121

2222
/**
@@ -36,7 +36,7 @@
3636
* @license https://github.com/ProjectSoft-STUDIONIONS/food-module/blob/master/LICENSE MIT License (MIT)
3737
* @reportissues https://github.com/ProjectSoft-STUDIONIONS/food-module/issues
3838
* @author Чернышёв Андрей aka ProjectSoft <projectsoft2009@yandex.ru>
39-
* @lastupdate 2025-12-04
39+
* @lastupdate 2025-12-12
4040
*/
4141

4242
require MODX_BASE_PATH.'assets/modules/food-module/plugin.food-module.php';

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,9 @@
3232
"grunt-replace": "^2.0.1",
3333
"load-grunt-tasks": "^5.1.0",
3434
"time-grunt": "git+https://github.com/ProjectSoft-STUDIONIONS/time-grunt.git"
35+
},
36+
"dependencies": {
37+
"@videojs/themes": "^1.0.1",
38+
"video.js": "^8.23.4"
3539
}
3640
}

src/css/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)