Skip to content

Commit

Permalink
Merge pull request #12 from jviney/patch-1
Browse files Browse the repository at this point in the history
chore(ember): fix "new A()" deprecation warning
  • Loading branch information
alexblom authored Jan 4, 2019
2 parents 36b3739 + d4dd02a commit 956e0d4
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 956e0d4

Please sign in to comment.