mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 08:33:24 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = angular.module('stf.keycodes', [
|
||||
|
||||
])
|
||||
.factory('KeycodesMapped', function () {
|
||||
.factory('KeycodesMapped', function() {
|
||||
return require('./mapped/index.json')
|
||||
})
|
||||
|
||||
|
||||
@@ -57,11 +57,11 @@ module.exports = function KeycodesServiceFactory(KeycodesAndroid, KeycodesJS) {
|
||||
[j.SINGLE_QUOTE, a.KEYCODE_APOSTROPHE]
|
||||
]
|
||||
|
||||
service.mapToDevice = function (keyCode) {
|
||||
service.mapToDevice = function(keyCode) {
|
||||
return service.mapToAndroid(keyCode)
|
||||
}
|
||||
|
||||
service.mapToAndroid = function (key) {
|
||||
service.mapToAndroid = function(key) {
|
||||
// All special keys
|
||||
for (var i = 0; i < androidMap.length; ++i) {
|
||||
if (androidMap[i][0] === key) {
|
||||
|
||||
Reference in New Issue
Block a user