From 59b916c0b6f9c6ffc1c2d3c6ad021c50db6e9ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arda=20=C3=87ebi?= Date: Sat, 4 Aug 2018 18:52:01 +0300 Subject: [PATCH] Commit --- js/admin/Gulpfile.js | 9 --------- js/admin/dist/extension.js | 18 ------------------ js/admin/package.json | 8 -------- js/admin/src/main.js | 9 --------- js/forum/Gulpfile.js | 9 --------- js/forum/dist/extension.js | 18 ------------------ js/forum/package.json | 8 -------- js/forum/src/main.js | 5 ----- 8 files changed, 84 deletions(-) delete mode 100644 js/admin/Gulpfile.js delete mode 100644 js/admin/dist/extension.js delete mode 100644 js/admin/package.json delete mode 100644 js/admin/src/main.js delete mode 100644 js/forum/Gulpfile.js delete mode 100644 js/forum/dist/extension.js delete mode 100644 js/forum/package.json delete mode 100644 js/forum/src/main.js diff --git a/js/admin/Gulpfile.js b/js/admin/Gulpfile.js deleted file mode 100644 index afb6ff6..0000000 --- a/js/admin/Gulpfile.js +++ /dev/null @@ -1,9 +0,0 @@ -var gulp = require('flarum-gulp'); - -gulp({ - modules: { - 'extum/flarum-ext-old-title': [ - 'src/**/*.js', - ] - } -}); diff --git a/js/admin/dist/extension.js b/js/admin/dist/extension.js deleted file mode 100644 index ae59190..0000000 --- a/js/admin/dist/extension.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -System.register('extum/flarum-ext-old-title/main', ['flarum/app'], function (_export, _context) { - "use strict"; - - var app; - return { - setters: [function (_flarumApp) { - app = _flarumApp.default; - }], - execute: function () { - - app.initializers.add('extum/flarum-ext-old-title', function () { - //console.log('Hello, admin!'); - }); - } - }; -}); diff --git a/js/admin/package.json b/js/admin/package.json deleted file mode 100644 index 4f1ffd6..0000000 --- a/js/admin/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "private": true, - "devDependencies": { - "gulp": "^3.9.1", - "flarum-gulp": "^0.2.0" - }, - "dependencies": {} -} diff --git a/js/admin/src/main.js b/js/admin/src/main.js deleted file mode 100644 index 03f33bd..0000000 --- a/js/admin/src/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import app from 'flarum/app'; -import {extend} from 'flarum/extend'; -import Page from 'flarum/components/Page'; - -app.initializers.add('extum/flarum-ext-old-title', () => { - extend(Page.prototype, 'init', function () { - $('head').prepend(); - }); -}); diff --git a/js/forum/Gulpfile.js b/js/forum/Gulpfile.js deleted file mode 100644 index afb6ff6..0000000 --- a/js/forum/Gulpfile.js +++ /dev/null @@ -1,9 +0,0 @@ -var gulp = require('flarum-gulp'); - -gulp({ - modules: { - 'extum/flarum-ext-old-title': [ - 'src/**/*.js', - ] - } -}); diff --git a/js/forum/dist/extension.js b/js/forum/dist/extension.js deleted file mode 100644 index e9fc8a3..0000000 --- a/js/forum/dist/extension.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -System.register('extum/flarum-ext-old-title/main', ['flarum/app'], function (_export, _context) { - "use strict"; - - var app; - return { - setters: [function (_flarumApp) { - app = _flarumApp.default; - }], - execute: function () { - - app.initializers.add('extum/flarum-ext-old-title', function () { - $('head').prepend(''); - }); - } - }; -}); diff --git a/js/forum/package.json b/js/forum/package.json deleted file mode 100644 index 4f1ffd6..0000000 --- a/js/forum/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "private": true, - "devDependencies": { - "gulp": "^3.9.1", - "flarum-gulp": "^0.2.0" - }, - "dependencies": {} -} diff --git a/js/forum/src/main.js b/js/forum/src/main.js deleted file mode 100644 index 207c752..0000000 --- a/js/forum/src/main.js +++ /dev/null @@ -1,5 +0,0 @@ -import app from 'flarum/app'; - -app.initializers.add('extum/flarum-ext-old-title', () => { - $('head').prepend('') -});