+ Start a Discussion
Caleb KuesterCaleb Kuester 

LockerService and Streaming API (Linter Complains)


So I'm curious if Streaming API is not supposed to be LockerService-friendly. 

It complains at: "var cometd = new window.org.cometd.CometD();"

Specifically, it doesn't like "window.org."

Is there any way around this?
Caleb KuesterCaleb Kuester
As it turns out, the problem was caused because I was using the Chrome addon version of the Linter. The CLI version does not complain about the StreamingAPI, which is strange, because the StreamingAPI looks like the shining definition of an app that LockerService should shut down. I may be wrong and it may be more secure than I realize.