Skip to content

Commit

Permalink
chore(ember): fix "new A()" deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jviney authored Jan 3, 2019
1 parent 36b3739 commit d4dd02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/services/ember-cordova/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const {
} = Ember;

// from https://cordova.apache.org/docs/en/4.0.0/cordova_events_events.md.html
const CORDOVA_EVENTS = new A([
const CORDOVA_EVENTS = A([
'deviceready',
'pause',
'resume',
Expand Down

0 comments on commit d4dd02a

Please sign in to comment.