Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
Update for beta 8
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin committed Sep 15, 2018
1 parent de5f040 commit ab9a360
Show file tree
Hide file tree
Showing 32 changed files with 5,615 additions and 4,810 deletions.
17 changes: 13 additions & 4 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@
namespace Flagrow\Ads;

use Illuminate\Contracts\Events\Dispatcher;
use Flarum\Extend;

return function (Dispatcher $events) {
$events->subscribe(Listeners\AddClientAssets::class);
$events->subscribe(Listeners\LoadSettingsFromDatabase::class);
};
return [
(new Extend\Frontend('admin'))
->css(__DIR__ . '/less/admin.less')
->js(__DIR__.'/js/dist/admin.js'),
(new Extend\Frontend('forum'))
->css(__DIR__ . '/less/forum.less')
->js(__DIR__.'/js/dist/forum.js'),
new Extend\Locales(__DIR__.'/locale'),
function (Dispatcher $events) {
$events->subscribe(Listeners\LoadSettingsFromDatabase::class);
}
];
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"flarum-extension": {
"title": "Flagrow Ads",
"icon": {
"name": "audio-description",
"name": "fas fa-audio-description",
"backgroundColor": "#f4f4f4",
"color": "#5f4bb6"
}
Expand Down
1 change: 1 addition & 0 deletions js/admin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './src/admin';
9 changes: 0 additions & 9 deletions js/admin/Gulpfile.js

This file was deleted.

206 changes: 0 additions & 206 deletions js/admin/dist/extension.js

This file was deleted.

7 changes: 0 additions & 7 deletions js/admin/package.json

This file was deleted.

Loading

0 comments on commit ab9a360

Please sign in to comment.