Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DoorLock
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱建香
DoorLock
Commits
6ff2e897
Commit
6ff2e897
authored
Jan 09, 2018
by
朱建香
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2018/01/09 12:10
UIOT.js更新
parent
7ac0e290
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
web/lib/js/UIOT.js
+24
-24
No files found.
web/lib/js/UIOT.js
View file @
6ff2e897
...
@@ -4696,13 +4696,13 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
...
@@ -4696,13 +4696,13 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
var
Ready
=
__webpack_require__
(
1
);
var
Ready
=
__webpack_require__
(
1
);
var
Native
Bridge
=
function
(
_Ready
)
{
var
OSSetting
Bridge
=
function
(
_Ready
)
{
_inherits
(
Native
Bridge
,
_Ready
);
_inherits
(
OSSetting
Bridge
,
_Ready
);
function
Native
Bridge
()
{
function
OSSetting
Bridge
()
{
_classCallCheck
(
this
,
Native
Bridge
);
_classCallCheck
(
this
,
OSSetting
Bridge
);
var
_this
=
_possibleConstructorReturn
(
this
,
(
NativeBridge
.
__proto__
||
Object
.
getPrototypeOf
(
Native
Bridge
)).
call
(
this
));
var
_this
=
_possibleConstructorReturn
(
this
,
(
OSSettingBridge
.
__proto__
||
Object
.
getPrototypeOf
(
OSSetting
Bridge
)).
call
(
this
));
document
.
addEventListener
(
"plusready"
,
function
()
{
document
.
addEventListener
(
"plusready"
,
function
()
{
_this
.
onPlusready
();
_this
.
onPlusready
();
...
@@ -4711,35 +4711,35 @@ var NativeBridge = function (_Ready) {
...
@@ -4711,35 +4711,35 @@ var NativeBridge = function (_Ready) {
return
_this
;
return
_this
;
}
}
_createClass
(
Native
Bridge
,
[{
_createClass
(
OSSetting
Bridge
,
[{
key
:
'onPlusready'
,
key
:
'onPlusready'
,
value
:
function
onPlusready
()
{
value
:
function
onPlusready
()
{
var
_NATIVECODE
=
'UgenNative'
,
var
_NATIVECODE
=
'UgenNative'
,
B
=
window
.
plus
.
bridge
,
B
=
window
.
plus
.
bridge
,
callbackID
=
void
0
;
callbackID
=
void
0
;
var
UgenNative
=
{
var
OSSetting
=
{
//判断通知是否开启
//判断通知是否开启
isNotifycationOpen
:
function
isNotifycationOpen
()
{
isNotifycationOpen
:
function
isNotifycationOpen
()
{
return
B
.
execSync
(
_NATIVECODE
,
"isNotifycationOpen"
,
[]);
return
B
.
execSync
(
_NATIVECODE
,
"isNotifycationOpen"
,
[]);
},
},
//跳转到通知设置界面
//跳转到通知设置界面
to
NotifycationSetting
:
function
toNotifycationSetting
(
)
{
to
Setting
:
function
toSetting
(
type
)
{
return
B
.
execSync
(
_NATIVECODE
,
"to
NotifycationSetting"
,
[
]);
return
B
.
execSync
(
_NATIVECODE
,
"to
Setting"
,
[
type
]);
}
}
};
};
this
.
UgenNative
=
UgenNative
;
this
.
OSSetting
=
OSSetting
;
}
}
},
{
},
{
key
:
'onReady'
,
key
:
'onReady'
,
value
:
function
onReady
()
{
value
:
function
onReady
()
{
return
this
.
UgenNative
;
return
this
.
OSSetting
;
}
}
}]);
}]);
return
Native
Bridge
;
return
OSSetting
Bridge
;
}(
Ready
);
}(
Ready
);
module
.
exports
=
Native
Bridge
;
module
.
exports
=
OSSetting
Bridge
;
/***/
}),
/***/
}),
/* 43 */
/* 43 */
...
@@ -4811,12 +4811,12 @@ var Bridge = __webpack_require__(42);
...
@@ -4811,12 +4811,12 @@ var Bridge = __webpack_require__(42);
/**
/**
* @class
* @class
*
BLE
*
OSSetting
*/
*/
var
Native
Method
=
function
()
{
var
OSSetting
Method
=
function
()
{
function
Native
Method
()
{
function
OSSetting
Method
()
{
_classCallCheck
(
this
,
Native
Method
);
_classCallCheck
(
this
,
OSSetting
Method
);
this
.
map
=
[];
this
.
map
=
[];
this
.
bridge
=
new
Bridge
();
this
.
bridge
=
new
Bridge
();
...
@@ -4828,28 +4828,28 @@ var NativeMethod = function () {
...
@@ -4828,28 +4828,28 @@ var NativeMethod = function () {
*/
*/
_createClass
(
Native
Method
,
[{
_createClass
(
OSSetting
Method
,
[{
key
:
'isNotifycationOpen'
,
key
:
"isNotifycationOpen"
,
value
:
function
isNotifycationOpen
()
{
value
:
function
isNotifycationOpen
()
{
return
this
.
bridge
.
obj
.
isNotifycationOpen
();
return
this
.
bridge
.
obj
.
isNotifycationOpen
();
}
}
/**
/**
* 跳转到通知设置界面
* 跳转到通知设置界面
* @example iot.native.to
Notifycation
Setting
* @example iot.native.toSetting
*/
*/
},
{
},
{
key
:
'toNotifycationSetting'
,
key
:
"toNotifycationSetting"
,
value
:
function
toNotifycationSetting
()
{
value
:
function
toNotifycationSetting
()
{
return
this
.
bridge
.
obj
.
to
NotifycationSetting
(
);
return
this
.
bridge
.
obj
.
to
Setting
(
"notify"
);
}
}
}]);
}]);
return
Native
Method
;
return
OSSetting
Method
;
}();
}();
module
.
exports
=
Native
Method
;
module
.
exports
=
OSSetting
Method
;
/***/
}),
/***/
}),
/* 45 */
/* 45 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment