File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " apparatus-editor" ,
3- "version" : " 0.4.0 " ,
3+ "version" : " 0.4.1 " ,
44 "description" : " Apparatus is a hybrid graphics editor / programming environment for creating interactive diagrams." ,
55 "license" : " MIT" ,
66 "author" : {
Original file line number Diff line number Diff line change @@ -50,11 +50,13 @@ module.exports = class Editor
5050 return builtIn
5151
5252 # TODO: get version via build process / ENV variable?
53- version : " 0.4.0 "
53+ version : " 0.4.1 "
5454
5555 load : (jsonString ) ->
5656 json = JSON .parse (jsonString)
57- if json .type == " Apparatus" and json .version == @version
57+ # TODO: If the file format changes, this will need to check the version
58+ # and convert or fail appropriately.
59+ if json .type == " Apparatus"
5860 @project = @serializer .dejsonify (json)
5961
6062 save : ->
You can’t perform that action at this time.
0 commit comments