This is needed for this plugin to work with Ember Octane. This is a pretty minimal change which doesn't make CSRF work properly in Octane but simply ensures this doesn't blow up if jQuery isn't loaded. A more comprehensive change might be providing some kind of mixin for the adapter or something? I don't know Ember very well yet, so I'm not too sure on the best way to proceed here.
This is needed for this plugin to work with Ember Octane. This is a pretty minimal change which doesn't make CSRF work properly in Octane but simply ensures this doesn't blow up if jQuery isn't loaded. A more comprehensive change might be providing some kind of mixin for the adapter or something? I don't know Ember very well yet, so I'm not too sure on the best way to proceed here.