flot/flot — pull request #1265 by tleish (2014-03-19 18:56:02+00:00)
Title: Fixing jquery.flot.resize ie8 'Uncaught TypeError'

Even with the updated jquery.flot.resize.js I was still receiving this error in IE8 just like #1081.

> Uncaught TypeError: Cannot set property 'w' of undefined

Simply fixed by adding changing the following

Original:

```js
function s(t,i,s){
var o=$(this),u=o.data(a);
u.w=i!==n?i:o.width(), u.h=s!==n?s:o.height(), r.apply(this,arguments)
}
```

to include a conditional Conditional:

```js
function s(t,i,s){
var o=$(this),u=o.data(a);
if(u){
u.w=i!==n?i:o.width(), u.h=s!==n?s:o.height(), r.apply(this,arguments)
}
}
```

No more IE8 error, resizing still works.