diff --git a/src/@ionic-native/core/ng1.ts b/src/@ionic-native/core/ng1.ts index 9ac417e3c..6e7c8fec6 100644 --- a/src/@ionic-native/core/ng1.ts +++ b/src/@ionic-native/core/ng1.ts @@ -13,12 +13,14 @@ export function initAngular1(plugins: any) { const serviceName = '$cordova' + name; const cls = plugins[name]; - (function (serviceName, cls, name) { - ngModule.service(serviceName, [function () { - const funcs = window.angular.copy(cls); - funcs.__proto__['name'] = name; - return funcs; - }]); + (function(serviceName, cls, name) { + ngModule.service(serviceName, [ + function() { + const funcs = window.angular.copy(cls); + funcs.__proto__['name'] = name; + return funcs; + } + ]); })(serviceName, cls, name); } } diff --git a/src/@ionic-native/plugins/ble/index.ts b/src/@ionic-native/plugins/ble/index.ts index e78145717..988a89717 100644 --- a/src/@ionic-native/plugins/ble/index.ts +++ b/src/@ionic-native/plugins/ble/index.ts @@ -589,7 +589,6 @@ export class BLE extends IonicNativePlugin { return; } - /** * Retrieves a list of the peripherals (containing any of the specified services) * currently connected to the system. The peripheral list is sent to the success callback. @@ -599,7 +598,7 @@ export class BLE extends IonicNativePlugin { * @returns {Promise} Returns a promise with a list of peripheral objects */ @Cordova() - connectedPeripheralsWithServices (services: string[]): Promise { + connectedPeripheralsWithServices(services: string[]): Promise { return; } @@ -611,7 +610,7 @@ export class BLE extends IonicNativePlugin { * @returns {Promise} Returns a promise with a list of peripheral objects */ @Cordova() - peripheralsWithIdentifiers (uuids: string[]): Promise { + peripheralsWithIdentifiers(uuids: string[]): Promise { return; } @@ -622,7 +621,7 @@ export class BLE extends IonicNativePlugin { * @returns {Promise} Returns a promise with a list of peripheral objects */ @Cordova() - bondedDevices (): Promise { + bondedDevices(): Promise { return; } } diff --git a/tslint.json b/tslint.json index be3a586b7..08e5f9a9a 100644 --- a/tslint.json +++ b/tslint.json @@ -10,7 +10,6 @@ "no-shadowed-variable": false, "only-arrow-functions": false, "ter-no-proto": false, - "space-before-function-paren": false, "callable-types": false, "member-access": false, "adjacent-overload-signatures": false,