-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
33 changed files
with
102 additions
and
412 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
use michaelbelgium\views\listeners; | ||
use Illuminate\Contracts\Events\Dispatcher; | ||
use Flarum\Extend\Locales; | ||
use Flarum\Extend\Frontend; | ||
|
||
return [ | ||
(new Frontend('forum')) | ||
->css(__DIR__ . '/less/extension.less') | ||
->js(__DIR__. '/js/dist/forum.js'), | ||
|
||
(new Frontend('admin')) | ||
->js(__DIR__ . '/js/dist/admin.js'), | ||
|
||
new Locales(__DIR__ . '/locale'), | ||
|
||
function (Dispatcher $events) { | ||
$events->subscribe(Listeners\AddDiscussionViewHandler::class); | ||
$events->subscribe(Listeners\AddDiscussionApiAttributes::class); | ||
$events->subscribe(Listeners\AddPopularSort::class); | ||
$events->subscribe(Listeners\SaveDiscussionFromModal::class); | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './src/admin'; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.