Skip to content

Commit

Permalink
Merge pull request #3 from davwheat/main
Browse files Browse the repository at this point in the history
Repo maintenance and improve method of extending PostStream
  • Loading branch information
justoverclockl authored Aug 6, 2021
2 parents 11ae43d + 9db6932 commit 7a0b023
Show file tree
Hide file tree
Showing 10 changed files with 1,253 additions and 5,569 deletions.
36 changes: 19 additions & 17 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,24 @@


return [
(new Extend\Frontend('forum'))
->js(__DIR__.'/js/dist/forum.js')
->css(__DIR__.'/resources/less/forum.less'),
(new Extend\Frontend('admin'))
->js(__DIR__.'/js/dist/admin.js')
->css(__DIR__.'/resources/less/admin.less'),
new Extend\Locales(__DIR__.'/resources/locale'),
(new Extend\Settings)
->serializeToForum('xPost', 'justoverclock-guestengagement.coordinates'),
(new Extend\Settings)
->serializeToForum('timeOut', 'justoverclock-guestengagement.timeout'),
(new Extend\Settings)
->serializeToForum('tchange', 'justoverclock-guestengagement.textchange'),
(new Extend\Settings)
->serializeToForum('BoxTitle', 'justoverclock-guestengagement.BoxTitleChange'),
(new Extend\Settings())->serializeToForum('hideHomeBox', 'justoverclock-guestengagement.hide.homebox', 'boolval', true),
(new Extend\Settings())->serializeToForum('hidePostBox', 'justoverclock-guestengagement.hide.postbox', 'boolval', true),
(new Extend\Frontend('forum'))
->js(__DIR__ . '/js/dist/forum.js')
->css(__DIR__ . '/resources/less/forum.less'),
(new Extend\Frontend('admin'))
->js(__DIR__ . '/js/dist/admin.js')
->css(__DIR__ . '/resources/less/admin.less'),
new Extend\Locales(__DIR__ . '/resources/locale'),
(new Extend\Settings)
->serializeToForum('justoverclock-guestengagement.xPost', 'justoverclock-guestengagement.coordinates'),
(new Extend\Settings)
->serializeToForum('justoverclock-guestengagement.timeOut', 'justoverclock-guestengagement.timeout'),
(new Extend\Settings)
->serializeToForum('justoverclock-guestengagement.tchange', 'justoverclock-guestengagement.textchange'),
(new Extend\Settings)
->serializeToForum('justoverclock-guestengagement.BoxTitle', 'justoverclock-guestengagement.BoxTitleChange'),
(new Extend\Settings())
->serializeToForum('justoverclock-guestengagement.hideHomeBox', 'justoverclock-guestengagement.hide.homebox', 'boolval', true),
(new Extend\Settings())
->serializeToForum('justoverclock-guestengagement.hidePostBox', 'justoverclock-guestengagement.hide.postbox', 'boolval', true),

];
2 changes: 1 addition & 1 deletion js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/admin.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dist/forum.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7a0b023

Please sign in to comment.