Merge pull request #2062 from knoxHuang/v1.7

fix CCWebView api error
This commit is contained in:
Jare Guo
2017-10-24 02:38:50 -05:00
committed by GitHub
+2 -2
View File
@@ -200,7 +200,7 @@ var WebView = cc.Class({
* Please refer to the official documentation for more details.
* !#zh
* 当加载 URL 以 JavaScript 接口方案开始时调用这个回调函数。<br/>
* 注意:只支持 Android 和 iOS ,Web 端用法请前往官方文档查看。
* 注意:只支持 Android 和 iOS,Web 端用法请前往官方文档查看。
* 详情请参阅官方文档
* @method setOnJSCallback
* @param {Function} callback
@@ -215,7 +215,7 @@ var WebView = cc.Class({
* !#en
* Evaluates JavaScript in the context of the currently displayed page. <br/>
* Please refer to the official document for more details <br/>
* Note: Cross domain issues need need to be resolved by yourself <br/>
* Note: Cross domain issues need to be resolved by yourself <br/>
* !#zh
* 执行 WebView 内部页面脚本(详情请参阅官方文档) <br/>
* 注意:需要自行解决跨域问题