Title: remove element of prop in jointJS
Tags: javascript;jointjs
Question: This is how I could add in jointJS an attribute or remove it if ```content``` is empty. Therefore I use ```removeAttr```:

```if (content) graph.getCell(cellId).attr('info/content', content);
else graph.getCell(cellId).removeAttr('info/content');
```

But for custom fields I want to use ```prop()``` (http://jointjs.com/api#joint.dia.Element:prop). But there is no ```removeProp``` function to remove a field if the variable is empty:

```if (content) graph.getCell(cellId).prop('data/info', content);
else graph.getCell(cellId).prop('data/info', '');
```

So how do I remove an element of ```prop```?




{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2015:00:10/31/15', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<javascript><jointjs>', 'Title': 'remove element of prop in jointJS', 'ViewCount': 461, 'id': 33455077, 'user_AboutMe': '<p>People who say nothing is impossible should try gargling with their mouths closed.</p>\n', 'user_AccountId': 3784171.0, 'user_DisplayName': 'user3142695', 'user_Reputation': 14370.0, 'user_Views': 1414.0, 'user_id': 3142695.0}}