36 lines
357 B
JavaScript
36 lines
357 B
JavaScript
var sectionPublicationsComponent = {
|
|
template: '#section-publications-template',
|
|
|
|
|
|
|
|
mounted: function()
|
|
{
|
|
|
|
},
|
|
|
|
|
|
|
|
destroyed: function()
|
|
{
|
|
|
|
},
|
|
|
|
|
|
|
|
data: function()
|
|
{
|
|
return {
|
|
item: {}
|
|
};
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
addPublication: function()
|
|
{
|
|
var item = sections.getDefaultWork();
|
|
this.$root.sections.publications.push(item);
|
|
}
|
|
}
|
|
}; |