James Thorpe

Results comments of James Thorpe

Great, will do. Also noticed that it may need to be documented in the .ts file as well?

I'm also seeing an error in IE (11) - I'll update with the specific error message later, but it was to do with firing custom events on the internally created...

It turns out you can't create new events in IE using: ``` new Event('connecting') ``` Doing so throws "Object doesn't support this action". I've moved beyond the connecting part to...

Looks like it _should_ be ok in other browsers, based on [this](https://developer.mozilla.org/en-US/docs/Web/API/document.createEvent#The_old-fashioned_way) and [this SO answer](http://stackoverflow.com/a/11181451/791010) which says: ``` if(document.createEvent){ //... }else if(document.createEventObject){// IE < 9 //... } ``` implying...

Ok, glad I checked before forking and attempting a fix - seems there's already a [pull request](https://github.com/joewalnes/reconnecting-websocket/pull/28) for exactly this issue :)

Ahh thanks - that makes sense. I came here via reveal.js, so I hadn't seen any options beyond just adding the `hljs` class, which I had (mistakenly, it turns out!)...

@vcsjones My understanding is that the same JIT compiler would be used in any 4.x environment, possibly even things targetting .NET 2, but running under the 4.x CLR?

@trayburn Nick addressed this point on [his blog](http://nickcraver.com/blog/2015/07/27/why-you-should-wait-on-dotnet-46/#comment-2159296059): > The exact line we got from Microsoft (when discussing security) was: "The only data that could be erroneously passed would be...

We're also seeing this issue, but in ko.toJS on an object originally from a parent frame - internally in the mapJsObjectGraph function it uses instanceof to determine if the rootObject...

More details of how we were experiencing the issue on stackoverflow: http://stackoverflow.com/questions/24890168/ko-tojs-converting-array-to-object/