filipminev/jqcached — Issue #1: If versy Ternary Operator
Author: klaascuvelier
Created: 2012-03-06 15:23:25+00:00
State: open

I would suggest considering using
```javascript
if (typeof context == 'object') {
context = $;
}
```

Instead of
```javascript
context = (typeof context == 'object') ? context : $;
```

According to these tests http://jsperf.com/ternary-operators-vs-if using 'if' is faster in most of the cases if you're working with objects.

Think about it