Skip to content

Commit

Permalink
remove empty if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Mar 9, 2018
1 parent 8f9d43a commit c0852b5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
6 changes: 2 additions & 4 deletions js/jquery.terminal-1.12.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Copyright (c) 2007-2013 Alexandru Marasteanu <hello at alexei dot ro>
* licensed under 3 clause BSD license
*
* Date: Fri, 09 Mar 2018 13:34:12 +0000
* Date: Fri, 09 Mar 2018 14:54:07 +0000
*/

/* TODO:
Expand Down Expand Up @@ -2886,7 +2886,7 @@
}
$.terminal = {
version: 'DEV',
date: 'Fri, 09 Mar 2018 13:34:12 +0000',
date: 'Fri, 09 Mar 2018 14:54:07 +0000',
// colors from http://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -3124,8 +3124,6 @@
string = start_formatting + string.substring(start, end);
if (end_formatting) {
string = string.replace(/(\[\[^\]]+)?\]$/, '');
if (string[string.length - 1] !== ']') {
}
string += ']';
}
return string;
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-1.12.1.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions js/jquery.terminal-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -3124,8 +3124,6 @@
string = start_formatting + string.substring(start, end);
if (end_formatting) {
string = string.replace(/(\[\[^\]]+)?\]$/, '');
if (string[string.length - 1] !== ']') {
}
string += ']';
}
return string;
Expand Down
6 changes: 2 additions & 4 deletions js/jquery.terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Copyright (c) 2007-2013 Alexandru Marasteanu <hello at alexei dot ro>
* licensed under 3 clause BSD license
*
* Date: Fri, 09 Mar 2018 13:34:12 +0000
* Date: Fri, 09 Mar 2018 14:54:07 +0000
*/

/* TODO:
Expand Down Expand Up @@ -2886,7 +2886,7 @@
}
$.terminal = {
version: 'DEV',
date: 'Fri, 09 Mar 2018 13:34:12 +0000',
date: 'Fri, 09 Mar 2018 14:54:07 +0000',
// colors from http://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -3124,8 +3124,6 @@
string = start_formatting + string.substring(start, end);
if (end_formatting) {
string = string.replace(/(\[\[^\]]+)?\]$/, '');
if (string[string.length - 1] !== ']') {
}
string += ']';
}
return string;
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal.min.js

Large diffs are not rendered by default.

0 comments on commit c0852b5

Please sign in to comment.