1 | "use strict";
|
2 | var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6 | return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7 | };
|
8 | var plugin_1 = require('./plugin');
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | var Backlight = (function () {
|
28 | function Backlight() {
|
29 | }
|
30 | |
31 |
|
32 |
|
33 |
|
34 | Backlight.on = function () { return; };
|
35 | |
36 |
|
37 |
|
38 |
|
39 | Backlight.off = function () { return; };
|
40 | __decorate([
|
41 | plugin_1.Cordova()
|
42 | ], Backlight, "on", null);
|
43 | __decorate([
|
44 | plugin_1.Cordova()
|
45 | ], Backlight, "off", null);
|
46 | Backlight = __decorate([
|
47 | plugin_1.Plugin({
|
48 | pluginName: 'Backlight',
|
49 | plugin: 'cordova-plugin-backlight',
|
50 | pluginRef: 'cordova.plugins.Backlight',
|
51 | repo: 'https://github.com/mebibou/cordova-plugin-backlight',
|
52 | platforms: ['Android']
|
53 | })
|
54 | ], Backlight);
|
55 | return Backlight;
|
56 | }());
|
57 | exports.Backlight = Backlight;
|
58 |
|
\ | No newline at end of file |