shurikenjs/shurikenjs — pull request #2 by TalAter (2013-03-20 23:40:48+00:00)
Title: Fixed bug in .html() and .text() failing on a zero length string input

.html('') and .text('') doesn't work. Instead of setting the html or text, it would attempt to return the current value of the target node, as if no parameter was passed.

To use your own example to illustrate the bug before the fix.

JavaScript
```javascript
var src = document.query('#details .source');
var dest = document.query('#details .destination');
dest.html(src.html());
```
HTML & CSS
```html

source html

destination html

```

Would results in:
```html

source html

source html

```

But if the HTML was:
```html

destination html

```

Then the result would be:
```html

destination html

```

Instead of two blank divs (which you will get with this fix):
```html

```