var z = new VIE();
z.entities.add({'@subject': 'http://example.org/EricClapton'});
var clapton = z.entities.get('http://example.org/EricClapton');
clapton.setOrAdd('plays', 'guitar');
clapton.setOrAdd('plays', 'vocals');
The above results that the plays attribute now has three elements: ["guitar", "vocals", "vocals"].
The above results that the
plays
attribute now has three elements: ["guitar", "vocals", "vocals"].A bugfix for this is on it's way.