File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 1- /* eslint-disable import/no-import-module-exports */
2- /* eslint-disable-next-line no-global-assign */
3- import sendGCM from './sendGCM' ;
4- import sendFCM from './sendFCM' ;
5- import APN from './sendAPN' ;
6- import sendADM from './sendADM' ;
7- import sendWNS from './sendWNS' ;
8- import sendWebPush from './sendWeb' ;
9-
10- import {
1+ const sendGCM = require ( './sendGCM' ) ;
2+ const sendFCM = require ( './sendFCM' ) ;
3+ const APN = require ( './sendAPN' ) ;
4+ const sendADM = require ( './sendADM' ) ;
5+ const sendWNS = require ( './sendWNS' ) ;
6+ const sendWebPush = require ( './sendWeb' ) ;
7+
8+ const {
119 DEFAULT_SETTINGS ,
1210 UNKNOWN_METHOD ,
1311 WEB_METHOD ,
@@ -16,7 +14,7 @@ import {
1614 GCM_METHOD ,
1715 FCM_METHOD ,
1816 APN_METHOD ,
19- } from './constants' ;
17+ } = require ( './constants' ) ;
2018
2119class PN {
2220 constructor ( options ) {
You can’t perform that action at this time.
0 commit comments