Skip to content

Commit

Permalink
Remove Trailing New Line(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Aug 26, 2021
1 parent 5558bcb commit 2905d2a
Show file tree
Hide file tree
Showing 146 changed files with 146 additions and 150 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ Release Notes

### 2.1.2

- Refactor.
- Refactor.
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
margin-top: ($y / 2);
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,4 @@ legend {
+ .p {
margin-top: 0;
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ pre {
}
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/content/section.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.content\:section {
@extend .lot\:section;
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/content/tab.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.content\:tab {
@extend .lot\:tab;
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,4 @@ label {
border-radius: 0;
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/h.scss
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,4 @@ $sizes: 0, 1, 2;
text-align: inherit;
vertical-align: top;
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
> span {
flex: 1;
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
@import 'lot/section';
@import 'lot/tab';
@import 'lot/tabs';
@import 'lot/tasks';
@import 'lot/tasks';
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@
font-size: 100%;
font-weight: bold;
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/desk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
display: block;
max-width: 100%;
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@
@import 'field/items';
@import 'field/option';
@import 'field/query';
@import 'field/toggle';
@import 'field/toggle';
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
}
}
}
}
}
4 changes: 1 addition & 3 deletions panel/.github/source/lot/asset/css/_/lot/field/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@
}
}
}
}


}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/field/item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
white-space: nowrap;
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/field/items.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.lot\:field.type\:items {
@extend .lot\:field.type\:item;
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/field/option.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
padding: 0;
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/field/query.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/field/toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/fields.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
padding-bottom: ($y - ($h - $z));
border-bottom: 1px dashed;
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/file-folder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@
height: 3px;
top: 7px;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@

.lot\:folders {
@extend .lot\:files;
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@
display: block;
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
display: none;
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/pager.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
color: inherit;
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/pages.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.lot\:pages {
@extend .lot\:files;
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
&.count\:0 {
display: none;
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/tab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
&.is\:current {
display: block;
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@
margin-top: 0;
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/lot/tasks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/_/media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/css/index.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ $color-link: #00f;

@import '_/h';

@import '_/media';
@import '_/media';
2 changes: 1 addition & 1 deletion panel/.github/source/lot/asset/js/index.js.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -413,4 +413,4 @@ onChange_Tab();

onEvent('beforeload', D, () => fire('let'));
onEvent('load', D, () => fire('get'));
onEvent('DOMContentLoaded', D, () => fire('set'));
onEvent('DOMContentLoaded', D, () => fire('set'));
2 changes: 1 addition & 1 deletion panel/.github/source/lot/layout/asset/css/_/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ $mix: #fff;

$ring: 0 0 0 3px rgba(255, 255, 255, .025);

@import '../_variant';
@import '../_variant';
2 changes: 1 addition & 1 deletion panel/.github/source/lot/layout/asset/css/_/light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ $mix: #222;

$ring: 0 0 0 3px rgba(0, 0, 0, .035);

@import '../_variant';
@import '../_variant';
2 changes: 1 addition & 1 deletion panel/.github/source/lot/layout/asset/css/_variant.scss
Original file line number Diff line number Diff line change
Expand Up @@ -482,4 +482,4 @@ $code: monospace !default;
}
}
}
}
}
2 changes: 1 addition & 1 deletion panel/.github/source/lot/layout/asset/css/index.css.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import '_/dark';
@import '_/light';
@import '_/light';
2 changes: 1 addition & 1 deletion panel/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
package-lock.json
package-lock.json
2 changes: 1 addition & 1 deletion panel/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Note: If you are from Indonesia and are having problems with the current rupiah

Thank you 💕️

<https://mecha-cms.com/support>
<https://mecha-cms.com/support>
2 changes: 1 addition & 1 deletion panel/about.page
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ To activate the control panel feature, you will need to install the [user](https

- Make sure you have uploaded the required extensions.
- Upload the `panel` folder to `.\lot\x` folder.
- Now visit your site! You should be redirected to create a new user.
- Now visit your site! You should be redirected to create a new user.
2 changes: 1 addition & 1 deletion panel/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"wapmorgan/unified-archive": "^0.1.2",
"maennchen/zipstream-php": "^1.2"
}
}
}
2 changes: 1 addition & 1 deletion panel/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion panel/engine/f.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,4 @@ function type($value, $key) {
require __DIR__ . \DS . 'f' . \DS . 'from.php';
require __DIR__ . \DS . 'f' . \DS . 'route.php';
require __DIR__ . \DS . 'f' . \DS . 'to.php';
require __DIR__ . \DS . 'f' . \DS . 'type.php';
require __DIR__ . \DS . 'f' . \DS . 'type.php';
3 changes: 1 addition & 2 deletions panel/engine/f/from.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ function tags($value) {
}
// `{0: true, 1: true, 2: true}`
return \array_keys(\array_filter($value));
}

}
2 changes: 1 addition & 1 deletion panel/engine/f/route.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,4 +414,4 @@ function user($_) {
}
return $_;
}
}
}
2 changes: 1 addition & 1 deletion panel/engine/f/to.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ function title($value, $level = -1) {

function w($value, $also = null) {
return \w('<!--0-->' . $value, 'abbr,b,br,cite,code,del,dfn,em,i,img,ins,kbd,mark,q,small,span,strong,sub,sup,svg,time,u,var' . ($also ? ',' . $also : ""));
}
}
2 changes: 1 addition & 1 deletion panel/engine/f/type.php
Original file line number Diff line number Diff line change
Expand Up @@ -1047,4 +1047,4 @@ function title($value, $key) {
require __DIR__ . \DS . 'type' . \DS . 'link.php';
require __DIR__ . \DS . 'type' . \DS . 'select.php';
require __DIR__ . \DS . 'type' . \DS . 'tasks.php';
require __DIR__ . \DS . 'type' . \DS . 'textarea.php';
require __DIR__ . \DS . 'type' . \DS . 'textarea.php';
2 changes: 1 addition & 1 deletion panel/engine/f/type/button.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ function submit($value, $key) {
$out = \x\panel\type\button($value, $key);
$out['type'] = 'submit';
return $out;
}
}
2 changes: 1 addition & 1 deletion panel/engine/f/type/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,4 +511,4 @@ function u_r_l($value, $key) { // This is not a typo!
$value['pattern'] = "^(data:[^\\s;]+;\\S+|(https?:)?\\/\\/\\S+)$";
}
return \x\panel\type\field\text($value, $key);
}
}
2 changes: 1 addition & 1 deletion panel/engine/f/type/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ function post($value, $key) {
}
$out['method'] = 'post';
return $out;
}
}
2 changes: 1 addition & 1 deletion panel/engine/f/type/input.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ function week($value, $key) {
$out = \x\panel\type\input($value, $key);
$out['type'] = 'week';
return $out;
}
}
2 changes: 1 addition & 1 deletion panel/engine/f/type/link.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

function _($value, $key) {
return \x\panel\type\link($value, $key); // Unknown `link` type
}
}
2 changes: 1 addition & 1 deletion panel/engine/f/type/select.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

// TODO

function multiple($value, $key) {}
function multiple($value, $key) {}
2 changes: 1 addition & 1 deletion panel/engine/f/type/tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ function link($value, $key) {
}
$value['tags']['lot:tasks.link'] = true;
return \x\panel\type\tasks($value, $key);
}
}
2 changes: 1 addition & 1 deletion panel/engine/f/type/textarea.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php namespace x\panel\type\textarea;
<?php namespace x\panel\type\textarea;
2 changes: 1 addition & 1 deletion panel/engine/fire.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
require __DIR__ . DS . 'r' . DS . 'asset.php';
require __DIR__ . DS . 'r' . DS . 'file.php';
require __DIR__ . DS . 'r' . DS . 'route.php';
require __DIR__ . DS . 'r' . DS . 'user.php';
require __DIR__ . DS . 'r' . DS . 'user.php';
2 changes: 1 addition & 1 deletion panel/engine/r.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,4 @@
'trash' => 'M21.82,15.42L19.32,19.75C18.83,20.61 17.92,21.06 17,21H15V23L12.5,18.5L15,14V16H17.82L15.6,12.15L19.93,9.65L21.73,12.77C22.25,13.54 22.32,14.57 21.82,15.42M9.21,3.06H14.21C15.19,3.06 16.04,3.63 16.45,4.45L17.45,6.19L19.18,5.19L16.54,9.6L11.39,9.69L13.12,8.69L11.71,6.24L9.5,10.09L5.16,7.59L6.96,4.47C7.37,3.64 8.22,3.06 9.21,3.06M5.05,19.76L2.55,15.43C2.06,14.58 2.13,13.56 2.64,12.79L3.64,11.06L1.91,10.06L7.05,10.14L9.7,14.56L7.97,13.56L6.56,16H11V21H7.4C6.47,21.07 5.55,20.61 5.05,19.76Z',
'user' => 'M16,13C15.71,13 15.38,13 15.03,13.05C16.19,13.89 17,15 17,16.5V19H23V16.5C23,14.17 18.33,13 16,13M8,13C5.67,13 1,14.17 1,16.5V19H15V16.5C15,14.17 10.33,13 8,13M8,11A3,3 0 0,0 11,8A3,3 0 0,0 8,5A3,3 0 0,0 5,8A3,3 0 0,0 8,11M16,11A3,3 0 0,0 19,8A3,3 0 0,0 16,5A3,3 0 0,0 13,8A3,3 0 0,0 16,11Z',
'x' => 'M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z'
]);
]);
Loading

0 comments on commit 2905d2a

Please sign in to comment.