mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint: key-spacing
This commit is contained in:
parent
a91344595c
commit
59338a16ac
8 changed files with 38 additions and 36 deletions
|
|
@ -135,9 +135,9 @@ module.exports.buildFromJSON = (params) => {
|
|||
const htmlPath = getPathLink(path, prefix, template.pathLink);
|
||||
|
||||
let fileTable = rendy(template.path, {
|
||||
link : prefix + FS + path,
|
||||
fullPath : path,
|
||||
path : htmlPath,
|
||||
link: prefix + FS + path,
|
||||
fullPath: path,
|
||||
path: htmlPath,
|
||||
});
|
||||
|
||||
const owner = 'owner';
|
||||
|
|
@ -150,10 +150,10 @@ module.exports.buildFromJSON = (params) => {
|
|||
const date = getFieldName('date');
|
||||
|
||||
const header = rendy(templateFile, {
|
||||
tag : 'div',
|
||||
attribute : 'data-name="js-fm-header" ',
|
||||
className : 'fm-header',
|
||||
type : '',
|
||||
tag: 'div',
|
||||
attribute: 'data-name="js-fm-header" ',
|
||||
className: 'fm-header',
|
||||
type: '',
|
||||
name,
|
||||
size,
|
||||
date,
|
||||
|
|
@ -173,8 +173,8 @@ module.exports.buildFromJSON = (params) => {
|
|||
|
||||
const linkResult = rendy(template.link, {
|
||||
link,
|
||||
title : '..',
|
||||
name : '..',
|
||||
title: '..',
|
||||
name: '..',
|
||||
});
|
||||
|
||||
const dataName = 'data-name="js-file-.." ';
|
||||
|
|
@ -182,15 +182,15 @@ module.exports.buildFromJSON = (params) => {
|
|||
|
||||
/* Сохраняем путь к каталогу верхнего уровня*/
|
||||
fileTable += rendy(template.file, {
|
||||
tag : 'li',
|
||||
tag: 'li',
|
||||
attribute,
|
||||
className : '',
|
||||
type : 'directory',
|
||||
name : linkResult,
|
||||
size : '<dir>',
|
||||
date : '--.--.----',
|
||||
owner : '.',
|
||||
mode : '--- --- ---',
|
||||
className: '',
|
||||
type: 'directory',
|
||||
name: linkResult,
|
||||
size: '<dir>',
|
||||
date: '--.--.----',
|
||||
owner: '.',
|
||||
mode: '--- --- ---',
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue