Skip to content
Browse files

improve data model

  • Loading branch information...
1 parent 1412a78 commit f4cf349ac1f911f1438814dc2cff2fefe151b0f6 @melvincarvalho melvincarvalho committed Dec 14, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 index.html
View
6 index.html
@@ -277,15 +277,15 @@ <h5 id="welcome"></h5>
var IOU = {
id: '',
IOU: {
- "a": "com:Transfer",
+ "@context": "http://purl.org/opentabs",
+ "@type": "com:Transfer",
"com:source": this.makeURI(source),
"com:destination": this.makeURI(destination),
"com:amount": amount,
"com:currency": currency,
"dc:created": new Date(),
"rdfs:comment": 'a test IOU',
- "format": '0.01',
- state: 0
+ "ot:state": 0
}
}
return IOU;

0 comments on commit f4cf349

Please sign in to comment.
Something went wrong with that request. Please try again.