Showing
1 changed file
with
9 additions
and
0 deletions
@@ -5,6 +5,15 @@ let shareData = { | @@ -5,6 +5,15 @@ let shareData = { | ||
5 | imgUrl: 'http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png' | 5 | imgUrl: 'http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png' |
6 | }; | 6 | }; |
7 | 7 | ||
8 | +let jsApiList = [ | ||
9 | + 'checkJsApi', | ||
10 | + 'onMenuShareTimeline', | ||
11 | + 'onMenuShareAppMessage', | ||
12 | + 'onMenuShareQQ', | ||
13 | + 'onMenuShareWeibo', | ||
14 | + 'onMenuShareQZone' | ||
15 | +]; | ||
16 | + | ||
8 | function loadScript(url, success) { | 17 | function loadScript(url, success) { |
9 | const head = document.getElementsByTagName('head')[0]; | 18 | const head = document.getElementsByTagName('head')[0]; |
10 | let script = document.createElement('script'); | 19 | let script = document.createElement('script'); |
-
Please register or login to post a comment