mirror of https://github.com/axmolengine/axmol.git
[ci skip]Fix naming errors
This commit is contained in:
parent
01203a8b1b
commit
376a3f2866
|
@ -3,7 +3,7 @@ var UIWebViewTest = UIScene.extend({
|
|||
onEnter: function(){
|
||||
UIScene.prototype.onEnter.call(this);
|
||||
|
||||
var webView = new ccui.WebView("src/GUITest/UIWebViewTest/weview.html");
|
||||
var webView = new ccui.WebView("src/GUITest/UIWebViewTest/webview.html");
|
||||
webView.setContentSize(320, 240);
|
||||
webView.setPosition(800/2, 450/2);
|
||||
webView.setScale(0.5);
|
||||
|
@ -18,7 +18,7 @@ var UIWebViewTest = UIScene.extend({
|
|||
var list = [
|
||||
{ name: "loadURL", func: function(){
|
||||
cc.log("loadURL!");
|
||||
webView.loadURL("src/GUITest/UIWebViewTest/weview2.html");
|
||||
webView.loadURL("src/GUITest/UIWebViewTest/webview2.html");
|
||||
}},
|
||||
{ name: "reload", func: function(){
|
||||
cc.log("reload!");
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
Page 1
|
||||
</div>
|
||||
<div>
|
||||
<a href="weview2.html">goto page2</a>
|
||||
<a href="webview2.html">goto page2</a>
|
||||
</div>
|
||||
<div id="test"></div>
|
||||
</body>
|
|
@ -14,7 +14,7 @@
|
|||
Page 2
|
||||
</div>
|
||||
<div>
|
||||
<a href="weview.html">goto page1</a>
|
||||
<a href="webview.html">goto page1</a>
|
||||
</div>
|
||||
<div id="test"></div>
|
||||
</body>
|
Loading…
Reference in New Issue