Commit 03244b5f by Julian Beisenkötter

major schema changes

parent 17bac123
......@@ -6,10 +6,8 @@ var educationsAnalysis = function($, profile){
var school = {
school: schoolItem.find(".item-title").text(),
course: schoolItem.find(".item-subtitle").text(),
dates: {
from: schoolItem.find(".meta .date-range time:nth-child(1)").text(),
to: schoolItem.find(".meta .date-range time:nth-child(2)").text()
},
description: schoolItem.find(".description p").text()
};
profile.educations.push(school);
......
......@@ -6,10 +6,8 @@ var positionsAnalysis = function($, profile){
var position = {
position: positionItem.find(".item-title").text(),
companyName: positionItem.find(".item-subtitle").text(),
dates: {
from: positionItem.find(".meta .date-range time:nth-child(1)").text(),
to: positionItem.find(".meta .date-range time:nth-child(2)").text()
},
locality: positionItem.find(".meta .location").text(),
description: positionItem.find(".description").text(),
current: (positionItem.attr('data-section') == "currentPositions")
......
......@@ -7,7 +7,7 @@ var skillsAnalysis = function($, profile){
var less = skill.hasClass('see-less');
if(!more && !less){
profile.skills.push(skill.text());
profile.skills.push({name: skill.text()});
}
});
return profile;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment