From 40759491705d2c65b42c75aab6bfd22a49b1b9b0 Mon Sep 17 00:00:00 2001 From: knoxHuang <821686174@qq.com> Date: Tue, 24 Oct 2017 15:36:59 +0800 Subject: [PATCH] fix CCWebView api error --- cocos2d/core/components/CCWebView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2d/core/components/CCWebView.js b/cocos2d/core/components/CCWebView.js index 26859c98e3..bad9bd0812 100644 --- a/cocos2d/core/components/CCWebView.js +++ b/cocos2d/core/components/CCWebView.js @@ -200,7 +200,7 @@ var WebView = cc.Class({ * Please refer to the official documentation for more details. * !#zh * 当加载 URL 以 JavaScript 接口方案开始时调用这个回调函数。
- * 注意:只支持 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.
* Please refer to the official document for more details
- * Note: Cross domain issues need need to be resolved by yourself
+ * Note: Cross domain issues need to be resolved by yourself
* !#zh * 执行 WebView 内部页面脚本(详情请参阅官方文档)
* 注意:需要自行解决跨域问题