Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
Cassiopée
nghyd
Commits
e5af0e56
Commit
e5af0e56
authored
5 years ago
by
mathias.chouet
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned code (tslint)
parent
1fa5bd5f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/directives/flex-xxs.directive.ts
+10
-17
10 additions, 17 deletions
src/app/directives/flex-xxs.directive.ts
tslint.json
+0
-1
0 additions, 1 deletion
tslint.json
with
10 additions
and
18 deletions
src/app/directives/flex-xxs.directive.ts
+
10
−
17
View file @
e5af0e56
import
{
Directive
}
from
"
@angular/core
"
;
import
{
Directive
,
Input
}
from
"
@angular/core
"
;
import
{
BREAKPOINT
,
ShowHideDirective
,
FlexDirective
}
from
"
@angular/flex-layout
"
;
const
XXS_BREAKPOINTS
=
[
...
...
@@ -30,36 +30,29 @@ export const CustomBreakPointsProvider = {
multi
:
true
};
const
inputsXxs
=
[
"
fxHide.xxs
"
];
const
inputsGtXxs
=
[
"
fxHide.gt-xxs
"
];
const
inputsLtXs
=
[
"
fxHide.lt-xs
"
];
@
Directive
({
// tslint:disable-next-line:directive-selector
selector
:
`[fxHide.xxs]`
,
// tslint:disable-next-line:use-input-property-decorator
inputs
:
inputsXxs
selector
:
`[fxHide.xxs]`
})
export
class
FlexXxsShowHideDirective
extends
ShowHideDirective
{
protected
inputs
=
inputsXxs
;
protected
inputs
=
[
"
fxHide.xxs
"
];
@
Input
()
"
fxHide.xxs
"
:
string
;
}
@
Directive
({
// tslint:disable-next-line:directive-selector
selector
:
`[fxHide.gt-xxs]`
,
// tslint:disable-next-line:use-input-property-decorator
inputs
:
inputsGtXxs
selector
:
`[fxHide.gt-xxs]`
})
export
class
FlexGtXxsShowHideDirective
extends
ShowHideDirective
{
protected
inputs
=
inputsGtXxs
;
protected
inputs
=
[
"
fxHide.gt-xxs
"
];
@
Input
()
"
fxHide.gt-xxs
"
:
string
;
}
@
Directive
({
// tslint:disable-next-line:directive-selector
selector
:
`[fxHide.lt-xs]`
,
// tslint:disable-next-line:use-input-property-decorator
inputs
:
inputsLtXs
selector
:
`[fxHide.lt-xs]`
})
export
class
FlexLtXsShowHideDirective
extends
ShowHideDirective
{
protected
inputs
=
inputsLtXs
;
protected
inputs
=
[
"
fxHide.lt-xs
"
];
@
Input
()
"
fxHide.lt-xs
"
:
string
;
}
This diff is collapsed.
Click to expand it.
tslint.json
+
0
−
1
View file @
e5af0e56
...
...
@@ -69,7 +69,6 @@
"no-trailing-whitespace"
:
true
,
"no-unnecessary-initializer"
:
true
,
"no-unused-expression"
:
true
,
"no-use-before-declare"
:
true
,
"no-var-keyword"
:
true
,
"object-literal-sort-keys"
:
false
,
"one-line"
:
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment