Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4d28d77f
authored
a year ago
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
5c4c477b
master
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
js/webAppComm.js
js/webAppComm.js
View file @
4d28d77f
...
...
@@ -30,6 +30,9 @@
// 33:打开更多功能面板
// 34:修改标题
// 35:打开游戏
// 36:播放動畫
// 37:web页面加载完毕时
function
webAppComm
()
{
...
...
@@ -428,6 +431,21 @@ webAppComm.prototype.playAnimate = function (mData) {
webAppCollaboration
(
obj2
);
}
// 37:web加载完毕
webAppComm
.
prototype
.
domReady
=
function
(
mData
)
{
var
obj
=
{
"cid"
:
37
,
"data"
:
mData
}
var
obj2
=
JSON
.
stringify
(
obj
);
webAppCollaboration
(
obj2
);
}
//接收客戶端的消息
webAppComm
.
prototype
.
reMsgFromApp
=
function
(
callback
)
{
callback
&&
callback
();
}
webAppComm
.
prototype
.
url_get_params
=
function
(
url_path
)
{
var
url
=
url_path
;
...
...
This diff is collapsed.
Click to expand it.
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