01org/appframework — pull request #514 by LeoYuan (2013-12-16 07:32:32+00:00)
Title: convert $().data('someKey') to a json object if possible.

**Note: it might not be a bug, just make some improvement for `data()`**
### improvement description
now, the `data()` is using `attr()` internally which has no process to convert the result, even if the result is a json-like string.

### how to reproduce?
html
```htm

```
js
```js
console.log(af('#test').data('x'));
```

### how to do?
try to convert the result to a json object if possible, otherwise return the original result.