chore(docs): setting up dgeni and circle CI

This commit is contained in:
perry
2016-01-25 16:20:36 -06:00
parent 262d52d3b9
commit ca82c358dc
63 changed files with 2666 additions and 36 deletions
+17 -1
View File
@@ -2,13 +2,29 @@ import {Plugin, RequiresPlugin} from './plugin';
declare var window;
/**
* Access information about the underlying device and platform.
*
* @usage
* ```js
* let info = Device.getDevice();
* // Device sits below
* ```
*/
@Plugin({
name: 'Device',
plugin: 'cordova-plugin-device',
pluginRef: 'device'
})
export class Device {
/**
* Returns the whole device object.
* @see https://github.com/apache/cordova-plugin-device
* @returns {Object} The device object.
*/
@RequiresPlugin
static getDevice() {
return window.device;