From 357c6253072b49bc6405a9691a3196ccbb353fba Mon Sep 17 00:00:00 2001 From: Shahiem Seymor Date: Sat, 11 Aug 2018 23:34:23 +0200 Subject: [PATCH] Update extension icon --- js/forum/dist/extension.js | 40 +++++++++++++++++++------------------- js/forum/src/main.js | 6 +++--- 2 files changed, 23 insertions(+), 23 deletions(-) mode change 100644 => 100755 js/forum/dist/extension.js diff --git a/js/forum/dist/extension.js b/js/forum/dist/extension.js old mode 100644 new mode 100755 index 827666f..3c89922 --- a/js/forum/dist/extension.js +++ b/js/forum/dist/extension.js @@ -58,26 +58,26 @@ System.register('reflar/leven-ranks/components/LevelBar', ['flarum/Component'], 'use strict'; System.register('reflar/leven-ranks/main', ['flarum/app', 'flarum/extend', 'flarum/components/PostUser', 'reflar/leven-ranks/components/LevelBar'], function (_export, _context) { - "use strict"; + "use strict"; - var app, extend, PostUser, LevelBar; - return { - setters: [function (_flarumApp) { - app = _flarumApp.default; - }, function (_flarumExtend) { - extend = _flarumExtend.extend; - }, function (_flarumComponentsPostUser) { - PostUser = _flarumComponentsPostUser.default; - }, function (_reflarLevenRanksComponentsLevelBar) { - LevelBar = _reflarLevenRanksComponentsLevelBar.default; - }], - execute: function () { + var app, extend, PostUser, LevelBar; + return { + setters: [function (_flarumApp) { + app = _flarumApp.default; + }, function (_flarumExtend) { + extend = _flarumExtend.extend; + }, function (_flarumComponentsPostUser) { + PostUser = _flarumComponentsPostUser.default; + }, function (_reflarLevenRanksComponentsLevelBar) { + LevelBar = _reflarLevenRanksComponentsLevelBar.default; + }], + execute: function () { - app.initializers.add('reflar-level-ranks', function (app) { - extend(PostUser.prototype, 'view', function (view) { - view.children.push(LevelBar.component(this.props)); - }); - }); - } - }; + app.initializers.add('reflar-level-ranks', function (app) { + extend(PostUser.prototype, 'view', function (view) { + view.children.push(LevelBar.component(this.props)); + }); + }); + } + }; }); \ No newline at end of file diff --git a/js/forum/src/main.js b/js/forum/src/main.js index c53ced0..3124005 100755 --- a/js/forum/src/main.js +++ b/js/forum/src/main.js @@ -4,7 +4,7 @@ import PostUser from 'flarum/components/PostUser'; import LevelBar from 'reflar/leven-ranks/components/LevelBar'; app.initializers.add('reflar-level-ranks', app => { - extend(PostUser.prototype, 'view', function (view) { - view.children.push(LevelBar.component(this.props)) - }); + extend(PostUser.prototype, 'view', function (view) { + view.children.push(LevelBar.component(this.props)) + }); });