New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap update & beginning of the develop branch partial merge #303

Merged
merged 2 commits into from Jun 11, 2017

Conversation

Projects
None yet
3 participants
@Exileum
Member

Exileum commented Jun 11, 2017

Обновление bootstrap и частичный перенос наработок develop-ветки перед релизом и последующим обновлением оной.

@Exileum Exileum added this to the Версия 2.1.6 milestone Jun 11, 2017

@Exileum Exileum self-assigned this Jun 11, 2017

@Exileum Exileum requested a review from VasyOk Jun 11, 2017

}
else if (response.prompt_confirm) {
if (window.confirm(response.confirm_msg)) {
var req = ajax.request[action];

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

'req' is already defined.

@houndci-bot

houndci-bot Jun 11, 2017

'req' is already defined.

fixSqlLog();
}
if (response.update_ids) {
for (id in response.update_ids) {

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

Creating global 'for' variable. Should be 'for (var id ...'.

@houndci-bot

houndci-bot Jun 11, 2017

Creating global 'for' variable. Should be 'for (var id ...'.

exec: function (request) {
this.request[request.action] = request;
request['form_token'] = this.form_token;

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

['form_token'] is better written in dot notation.

@houndci-bot

houndci-bot Jun 11, 2017

['form_token'] is better written in dot notation.

Show outdated Hide outdated styles/js/main.js
Show outdated Hide outdated styles/js/main.js
if (/^http(?:s|):\/\/www.youtube.com\/watch\?(.*)?(&?v=([a-z0-9\-_]+))(.*)?|http:\/\/youtu.be\/.+/i.test(link.href)) {
var a = document.createElement('span');
a.className = 'YTLink';
a.innerHTML = '<span title="' + bbl['play_on'] + '" class="YTLinkButton">&#9658;</span>';

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

['play_on'] is better written in dot notation.

@houndci-bot

houndci-bot Jun 11, 2017

['play_on'] is better written in dot notation.

if (src.match(banned_image_hosts)) {
$img.wrap('<a href="' + this.src + '" target="_blank"></a>').attr({
src: "" + bb_url + "styles/images/smiles/tr_oops.gif",
title: "" + bbl['scr_rules'] + ""

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

['scr_rules'] is better written in dot notation.

@houndci-bot

houndci-bot Jun 11, 2017

['scr_rules'] is better written in dot notation.

$("a.postLink:not([href*='"+ window.location.hostname +"/'])", context).attr({ target: '_blank' });
}
function initExternalLinks(context) {
var context = context || 'body';

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

'context' is already defined.

@houndci-bot

houndci-bot Jun 11, 2017

'context' is already defined.

e.shiftKey = false;
var fold = $(this).hasClass('unfolded');
$('div.sp-head', $($sp_body.parents('td')[0])).filter(function () {
return $(this).hasClass('unfolded') ? fold : !fold

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

Missing semicolon.

@houndci-bot

houndci-bot Jun 11, 2017

Missing semicolon.

$sp_head.insertBefore($sp_body).click(function (e) {
if (!$sp_body.hasClass('inited')) {
initPostImages($sp_body);
var $sp_fold_btn = $('<div class="sp-fold clickable">[' + bbl['spoiler_close'] + ']</div>').click(function () {

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

['spoiler_close'] is better written in dot notation.

@houndci-bot

houndci-bot Jun 11, 2017

['spoiler_close'] is better written in dot notation.

function initSpoilers(context) {
$('div.sp-body', context).each(function () {
var $sp_body = $(this);
var name = $.trim(this.title) || '' + bbl['spoiler_head'] + '';

This comment has been minimized.

@houndci-bot

houndci-bot Jun 11, 2017

['spoiler_head'] is better written in dot notation.

@houndci-bot

houndci-bot Jun 11, 2017

['spoiler_head'] is better written in dot notation.

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

@torrentpier torrentpier deleted a comment from codacy-bot Jun 11, 2017

require('../../js/alert.js')
require('../../js/button.js')
require('../../js/carousel.js')
require('../../js/collapse.js')

This comment has been minimized.

require('../../js/alert.js')
require('../../js/button.js')
require('../../js/carousel.js')
require('../../js/collapse.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
require('../../js/dropdown.js')
require('../../js/modal.js')
require('../../js/tooltip.js')
require('../../js/popover.js')

This comment has been minimized.

require('../../js/transition.js')
require('../../js/alert.js')
require('../../js/button.js')
require('../../js/carousel.js')

This comment has been minimized.

require('../../js/button.js')
require('../../js/carousel.js')
require('../../js/collapse.js')
require('../../js/dropdown.js')

This comment has been minimized.

@@ -0,0 +1,13 @@
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
@@ -0,0 +1,13 @@
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')

This comment has been minimized.

@@ -0,0 +1,13 @@
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')
require('../../js/alert.js')

This comment has been minimized.

require('../../js/tooltip.js')
require('../../js/popover.js')
require('../../js/scrollspy.js')
require('../../js/tab.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
require('../../js/button.js')
require('../../js/carousel.js')
require('../../js/collapse.js')
require('../../js/dropdown.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
@@ -0,0 +1,13 @@
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')
require('../../js/alert.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')
require('../../js/alert.js')
require('../../js/button.js')

This comment has been minimized.

require('../../js/transition.js')
require('../../js/alert.js')
require('../../js/button.js')
require('../../js/carousel.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')
require('../../js/alert.js')
require('../../js/button.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
require('../../js/carousel.js')
require('../../js/collapse.js')
require('../../js/dropdown.js')
require('../../js/modal.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
require('../../js/dropdown.js')
require('../../js/modal.js')
require('../../js/tooltip.js')
require('../../js/popover.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
require('../../js/collapse.js')
require('../../js/dropdown.js')
require('../../js/modal.js')
require('../../js/tooltip.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
require('../../js/collapse.js')
require('../../js/dropdown.js')
require('../../js/modal.js')
require('../../js/tooltip.js')

This comment has been minimized.

require('../../js/modal.js')
require('../../js/tooltip.js')
require('../../js/popover.js')
require('../../js/scrollspy.js')

This comment has been minimized.

require('../../js/tooltip.js')
require('../../js/popover.js')
require('../../js/scrollspy.js')
require('../../js/tab.js')

This comment has been minimized.

require('../../js/popover.js')
require('../../js/scrollspy.js')
require('../../js/tab.js')
require('../../js/affix.js')

This comment has been minimized.

require('../../js/popover.js')
require('../../js/scrollspy.js')
require('../../js/tab.js')
require('../../js/affix.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
require('../../js/modal.js')
require('../../js/tooltip.js')
require('../../js/popover.js')
require('../../js/scrollspy.js')

This comment has been minimized.

@codacy-bot
@codacy-bot
require('../../js/carousel.js')
require('../../js/collapse.js')
require('../../js/dropdown.js')
require('../../js/modal.js')

This comment has been minimized.

addEvent(textarea, 'keydown', function (e) {
return th.onKeyPress(e, window.HTMLElement ? 'down' : 'press')
});
addEvent(textarea, 'keypress', function (e) {

This comment has been minimized.

@Exileum Exileum merged commit b06bb45 into torrentpier:master Jun 11, 2017

3 of 5 checks passed

ci/circleci No test commands were found
Details
codacy/pr Not so good... This pull request quality could be better.
Details
SensioLabsInsight Code quality OK.
Details
continuous-integration/styleci/pr The StyleCI analysis has passed
Details
hound 91 violations found.

@Exileum Exileum deleted the Exileum:feature/develop-partial-merge branch Jun 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment