Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ARSnova
arsnova-click-v2-frontend
Commits
ab26d1a6
Commit
ab26d1a6
authored
Nov 10, 2019
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds missing providedIn declaration for services
parent
4b523b91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/app/shared/error-handler.ts
src/app/shared/error-handler.ts
+1
-1
src/app/shared/tracking/ArsnovaClickAngulartics2Piwik.ts
src/app/shared/tracking/ArsnovaClickAngulartics2Piwik.ts
+1
-1
No files found.
src/app/shared/error-handler.ts
View file @
ab26d1a6
import
{
isPlatformBrowser
,
LocationStrategy
,
PathLocationStrategy
}
from
'
@angular/common
'
;
import
{
ErrorHandler
,
Inject
,
Injectable
,
Injector
,
PLATFORM_ID
}
from
'
@angular/core
'
;
@
Injectable
()
@
Injectable
(
{
providedIn
:
'
root
'
}
)
export
class
GlobalErrorHandler
implements
ErrorHandler
{
private
_errorMap
=
[];
...
...
src/app/shared/tracking/ArsnovaClickAngulartics2Piwik.ts
View file @
ab26d1a6
...
...
@@ -6,7 +6,7 @@ import { INamedType } from '../../lib/interfaces/interfaces';
declare
var
_paq
:
any
;
@
Injectable
()
@
Injectable
(
{
providedIn
:
'
root
'
}
)
export
class
ArsnovaClickAngulartics2Piwik
extends
Angulartics2Piwik
{
constructor
(
private
_angulartics2
:
Angulartics2
,
private
route
:
ActivatedRoute
)
{
...
...
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