Обновление всех файлов с ESLint
This commit is contained in:
+19
-13
@@ -1,5 +1,5 @@
|
||||
import { Joke, JokeSettings, StopableJoke } from "../joke";
|
||||
import $ from "jquery";
|
||||
import {Joke, JokeSettings} from '../joke';
|
||||
import $ from 'jquery';
|
||||
|
||||
/**
|
||||
* **Зеркало**
|
||||
@@ -9,26 +9,32 @@ import $ from "jquery";
|
||||
* @author Kozhilya
|
||||
*/
|
||||
export class MirrorJoke extends Joke<MirrorJokeSettings> {
|
||||
id = "mirror";
|
||||
id = 'mirror';
|
||||
|
||||
title = "Зеркало";
|
||||
title = 'Зеркало';
|
||||
|
||||
description = "Элементы форума отражаются (по крайней мере, пытаются)";
|
||||
description = 'Элементы форума отражаются (по крайней мере, пытаются)';
|
||||
|
||||
_settings = new MirrorJokeSettings();
|
||||
|
||||
/**
|
||||
* Запуск шутки
|
||||
*/
|
||||
start(): void {
|
||||
$(".post, .post h3, .post-links, .post-author, .post-content")
|
||||
.css("transform", "scaleX(-1)")
|
||||
.css("-moz-transform", "scaleX(-1)")
|
||||
.css("-moz-transform", "scaleX(-1)")
|
||||
.css("filter", "FlipH")
|
||||
.css("-ms-filter", '"FlipH"');
|
||||
$(".post-links, .post-links ul, .post h3 span").css("margin-left", "0");
|
||||
$(".post h3 span").css("margin-right", "25em");
|
||||
$('.post, .post h3, .post-links, .post-author, .post-content')
|
||||
.css('transform', 'scaleX(-1)')
|
||||
.css('-moz-transform', 'scaleX(-1)')
|
||||
.css('-moz-transform', 'scaleX(-1)')
|
||||
.css('filter', 'FlipH')
|
||||
.css('-ms-filter', '"FlipH"');
|
||||
$('.post-links, .post-links ul, .post h3 span').css('margin-left', '0');
|
||||
$('.post h3 span').css('margin-right', '25em');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Класс настроек для шутки "Зеркало"
|
||||
*/
|
||||
export class MirrorJokeSettings implements JokeSettings {
|
||||
enabled: boolean = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user