This repository has been archived by the owner on Mar 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix missing AssertPermissionTrait * Add extend file * Update package.json * Replace gulp with webpack * Remove all gulp files and old package.json * Gitignore changes * Fix missing modules and paths * Remove clutter * Update composer to beta8 * Move events to extend * Remove clutter * Working for beta 8 & fixed a flarum bug in the proccess * Apply fixes from StyleCI (#12) * Package.json fix
- Loading branch information
Charlie
authored
Nov 16, 2018
1 parent
ee988f1
commit 70f09fb
Showing
36 changed files
with
4,960 additions
and
10,026 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
js/*/node_modules | ||
js/*/pakcage-lock.json | ||
vendor/ | ||
composer.lock | ||
/vendor | ||
composer.phar | ||
.DS_Store | ||
Thumbs.db | ||
node_modules | ||
js/dist/* |
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,33 @@ | ||
<?php | ||
/* | ||
* This file is part of reflar/koseki. | ||
* | ||
* Copyright (c) ReFlar. | ||
* | ||
* http://reflar.io | ||
* | ||
* For the full copyright and license information, please view the license.md | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Reflar\Koseki; | ||
|
||
use Flarum\Extend; | ||
use Illuminate\Contracts\Events\Dispatcher; | ||
|
||
return [ | ||
(new Extend\Frontend('forum')) | ||
->js(__DIR__.'/js/dist/forum.js') | ||
->css(__DIR__.'/resources/less/categories.less') | ||
->css(__DIR__.'/resources/css/bootstrap.css') | ||
->route('/koseki', 'koseki'), | ||
(new Extend\Frontend('admin')) | ||
->css(__DIR__.'/resources/less/admin.less') | ||
->js(__DIR__.'/js/dist/admin.js'), | ||
(new Extend\Locales(__DIR__.'/resources/locale')), | ||
|
||
function (Dispatcher $events) { | ||
$events->subscribe(Listeners\AddRelationships::class); | ||
$events->subscribe(Listeners\SaveIconToDatabase::class); | ||
}, | ||
]; |
Binary file not shown.
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.
Oops, something went wrong.