Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
SemWeb
logilab-views
Commits
c64fa584241c
Commit
ccad64ce
authored
Mar 23, 2020
by
Élodie Thiéblin
Browse files
[BlogPost] Remove console logs
parent
2e174b36de4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/blogpost/blogpost.ts
View file @
c64fa584
...
...
@@ -71,7 +71,6 @@ class BlogPostRendering implements implementation.ViewImplementation {
let
entityTypes
=
entity
.
getEntitiesForS
(
"
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
"
);
console
.
log
(
"
BLOGPOST :
"
,
entity
,
entityTypes
);
if
(
entityTypes
.
length
>
0
)
{
let
x
=
entityTypes
.
find
(
(
entity
:
rdfEntities
.
RdfEntity
)
=>
...
...
@@ -81,7 +80,6 @@ class BlogPostRendering implements implementation.ViewImplementation {
);
if
(
x
)
{
// The entity is a BlogPost
console
.
log
(
"
is A blogpost!
"
);
return
10
;
}
}
...
...
Write
Preview
Supports
Markdown
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