Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linkedin-public-profile
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mbas
linkedin-public-profile
Commits
adc7cb13
Commit
adc7cb13
authored
May 16, 2016
by
Vitalik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add courses
parent
708b942d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
+27
-0
courses.js
src/analyse-parts/courses.js
+21
-0
analyser.js
src/analyser.js
+1
-0
profile.js
src/profile.js
+5
-0
No files found.
src/analyse-parts/courses.js
0 → 100644
View file @
adc7cb13
var
coursesAnalysis
=
function
(
$
,
profile
)
{
// Courses
profile
.
courses
=
[];
$
(
'#courses>ul>li'
).
each
(
function
()
{
var
$item
=
$
(
this
);
var
courses
=
[];
$item
.
find
(
'li.course'
).
each
(
function
(
k
,
el
)
{
courses
.
push
(
$
(
el
).
text
());
});
profile
.
courses
.
push
({
title
:
$item
.
find
(
'.item-title'
).
text
(),
courses
:
courses
});
});
return
profile
;
};
module
.
exports
=
coursesAnalysis
;
src/analyser.js
View file @
adc7cb13
...
...
@@ -12,6 +12,7 @@ var analyse = function (window, url) {
.
skills
()
.
educations
()
.
certifications
()
.
courses
()
.
clean
();
links
=
linkedPeople
(
$
);
...
...
src/profile.js
View file @
adc7cb13
...
...
@@ -6,6 +6,7 @@ var positionsAnalysis = require('./analyse-parts/positions');
var
skillsAnalysis
=
require
(
'./analyse-parts/skills'
);
var
educationsAnalysis
=
require
(
'./analyse-parts/educations'
);
var
certificationsAnalysis
=
require
(
'./analyse-parts/certifications'
);
var
coursesAnalysis
=
require
(
'./analyse-parts/courses'
);
class
Profile
{
constructor
(
$
)
{
...
...
@@ -36,6 +37,10 @@ class Profile {
return
certificationsAnalysis
(
this
.
$
,
this
);
}
courses
()
{
return
coursesAnalysis
(
this
.
$
,
this
);
}
clean
()
{
delete
this
.
$
;
return
this
;
...
...
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