forked from nativescript-community/ble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bluetooth-common.js.map
1 lines (1 loc) · 1.53 KB
/
bluetooth-common.js.map
1
{"version":3,"sources":["bluetooth-common.ts"],"names":[],"mappings":";AAAA,OAAO,CAAC,UAAU,CAAC,CAAC;AAEpB;IAAA;IAyBA,CAAC;IAvBC,mDAA+B,GAA/B;QACE,MAAM,CAAC,IAAI,OAAO,CAAC,UAAU,OAAO;YAClC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC;;IAED,+CAA2B,GAA3B;QACE,MAAM,CAAC,IAAI,OAAO,CAAC,UAAU,OAAO;YAClC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC;;IAED,wCAAoB,GAApB,UAAqB,GAAG;QACtB,IAAI,mBAAmB,GAAG,UAAU,GAAG;YACrC,IAAI,GAAG,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YACrC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACpC,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YAC7B,CAAC;YACD,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC;QACpB,CAAC,CAAC;QACF,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACxC,CAAC;;IAEH,gBAAC;AAAD,CAzBA,AAyBC,IAAA;AAzBY,iBAAS,YAyBrB,CAAA","file":"bluetooth-common.js","sourcesContent":["require('./base64');\r\n\r\nexport class bluetooth {\r\n\r\n requestCoarseLocationPermission() {\r\n return new Promise(function (resolve) {\r\n resolve(true);\r\n });\r\n };\r\n\r\n hasCoarseLocationPermission() {\r\n return new Promise(function (resolve) {\r\n resolve(true);\r\n });\r\n };\r\n\r\n _base64ToArrayBuffer(b64) {\r\n var stringToArrayBuffer = function (str) {\r\n var ret = new Uint8Array(str.length);\r\n for (var i = 0; i < str.length; i++) {\r\n ret[i] = str.charCodeAt(i);\r\n }\r\n return ret.buffer;\r\n };\r\n return stringToArrayBuffer(atob(b64));\r\n };\r\n\r\n}"],"sourceRoot":"/source/"}