feat(build): Support ES2015 modules

This commit is contained in:
Max Lynch
2016-09-21 15:04:46 -05:00
parent 3903fee2bf
commit 4014972feb
30 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var window: any;
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name AdMob
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name Battery Status
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name BLE
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name Bluetooth Serial
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
export interface CameraPreviewRect {
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
// below are taken from
// https://raw.githubusercontent.com/Microsoft/cordova-plugin-code-push/master/typings/codePush.d.ts
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
export interface DeeplinkMatch {
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
export interface AccelerationData {
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
export interface CompassHeading {
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name EstimoteBeacons
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name Geofence
* @description Monitors circular geofences around latitude/longitude coordinates, and sends a notification to the user when the boundary of a geofence is crossed. Notifications can be sent when the user enters and/or exits a geofence.
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var navigator: any;
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, CordovaInstance, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var cordova: any;
+1 -1
View File
@@ -1,5 +1,5 @@
import { Plugin, CordovaInstance } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var cordova: any;
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, CordovaProperty, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var navigator: any;
+1 -1
View File
@@ -1,5 +1,5 @@
import { CordovaInstance, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var Media: any;
+1 -1
View File
@@ -1,5 +1,5 @@
import { Plugin, Cordova } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name MusicControls
* @description
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, CordovaProperty, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var navigator: any;
+1 -1
View File
@@ -1,5 +1,5 @@
import { Plugin, Cordova } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name NFC
* @description
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
+1 -1
View File
@@ -1,5 +1,5 @@
import { get } from '../util';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
declare var window;
declare var Promise;
+1 -1
View File
@@ -1,5 +1,5 @@
import { Plugin, Cordova } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
/**
* @name Shake
* @description Handles shake gesture
+1 -1
View File
@@ -1,5 +1,5 @@
import { Cordova, Plugin } from './plugin';
import { Observable } from '@reactivex/rxjs';
import { Observable } from 'rxjs/Observable';
export interface ToastOptions {