Preparing for github file persistence

This commit is contained in:
Cássio Zen
2016-07-19 17:11:22 -03:00
parent 6f0f13ad40
commit 18ad041d96
13 changed files with 181 additions and 44 deletions

View File

@ -19,7 +19,7 @@ const ImageType = new yaml.Type('image', {
kind: 'scalar',
instanceOf: MediaProxy,
represent: function(value) {
return `${value.uri}`;
return `${value.path}`;
},
resolve: function(value) {
if (value === null) return false;