Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
aitp-utils
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aneo Web Talents
Angular
core
aitp-utils
Commits
07591b18
Commit
07591b18
authored
Feb 07, 2019
by
Emile TAVERNE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppression decorator
parent
78ff4f05
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
21 deletions
+0
-21
component.decorator.ts
src/lib/decorators/component.decorator.ts
+0
-19
index.ts
src/lib/decorators/index.ts
+0
-1
public_api.ts
src/public_api.ts
+0
-1
No files found.
src/lib/decorators/component.decorator.ts
deleted
100644 → 0
View file @
78ff4f05
import
{
Component
,
isDevMode
}
from
'@angular/core'
;
export
function
AiutComponent
(
args
:
any
=
{}):
(
cls
:
any
)
=>
any
{
const
ngCompDecorator
=
Component
(
args
);
return
function
(
compType
:
any
)
{
ngCompDecorator
(
compType
);
if
(
isDevMode
())
{
const
orignalChange
=
compType
.
ngOnChange
;
compType
.
ngOnChange
=
()
=>
{
console
.
info
(
`
${
compType
.
constructor
.
name
}
changed`
);
orignalChange
.
call
(
compType
);
};
}
};
}
src/lib/decorators/index.ts
deleted
100644 → 0
View file @
78ff4f05
export
*
from
'./component.decorator'
;
src/public_api.ts
View file @
07591b18
...
...
@@ -4,7 +4,6 @@
export
*
from
'./lib/aitp-utils.module'
;
export
*
from
'./lib/components'
;
export
*
from
'./lib/decorators'
;
export
*
from
'./lib/directives'
;
export
*
from
'./lib/operators'
;
export
*
from
'./lib/services'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment