|
|
@@ -1,15 +0,0 @@ |
|
|
|
export default options => { |
|
|
|
if (typeof options == 'undefined') |
|
|
|
options = {} |
|
|
|
|
|
|
|
if (!options.hasOwnProperty('content')) |
|
|
|
options = {'content': options} |
|
|
|
|
|
|
|
return { |
|
|
|
view: vnode => [ |
|
|
|
options.prologue, |
|
|
|
m('main', options.content), |
|
|
|
options.epilogue |
|
|
|
] |
|
|
|
} |
|
|
|
} |