yui/yui3 — pull request #1171 by okuryu (2013-09-08 07:29:51+00:00)
Title: [DT] Fix the check tbodyNode exists

There was cases that have failing tests due to the lack of `tbodyNode` and fail calling `Y.Node.inDoc()` function.

Before:
```
[okuryu.local](yui3@dev-3.x)$ yeti tests/unit/datatable-paginator.html
Creating a Hub. Open `yeti --server` in another Terminal to reuse browsers for future batches.

Waiting for agents to connect at http://10.0.1.13:9000
...also available locally at http://localhost:9000
When ready, press Enter to begin testing.
Agent connected: Chrome (30.0.1599.28) / Mac OS from 127.0.0.1
Agent connected: Firefox (23.0) / Mac OS from 127.0.0.1

✓ Testing started on Chrome (30.0.1599.28) / Mac OS, Firefox (23.0) / Mac OS
✗ Script error: Uncaught TypeError: Cannot read property 'ownerDocument' of null
URL: src/datatable/tests/unit/datatable-paginator.html
Line: 524
User-Agent: Chrome (30.0.1599.28) / Mac OS
✗ Script error: TypeError: node is null
URL: src/datatable/tests/unit/datatable-paginator.html
Line: 524
User-Agent: Firefox (23.0) / Mac OS
✓ Agent completed: Chrome (30.0.1599.28) / Mac OS
✓ Agent completed: Firefox (23.0) / Mac OS
✓ 20 tests passed! (4 seconds)
```

After:
```
[okuryu.local](yui3@dt-body)$ yeti tests/unit/datatable-paginator.html
Creating a Hub. Open `yeti --server` in another Terminal to reuse browsers for future batches.

Waiting for agents to connect at http://10.0.1.13:9000
...also available locally at http://localhost:9000
When ready, press Enter to begin testing.
Agent connected: Firefox (23.0) / Mac OS from 127.0.0.1
Agent connected: Chrome (30.0.1599.28) / Mac OS from 127.0.0.1

✓ Testing started on Firefox (23.0) / Mac OS, Chrome (30.0.1599.28) / Mac OS
✓ Agent completed: Firefox (23.0) / Mac OS
✓ Agent completed: Chrome (30.0.1599.28) / Mac OS
✓ 20 tests passed! (2.85 seconds)
```

/cc @apipkin