[ci skip]Fix naming errors

This commit is contained in:
VisualSJ 2015-05-15 15:45:37 +08:00
parent 01203a8b1b
commit 376a3f2866
3 changed files with 4 additions and 4 deletions

View File

@ -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!");

View File

@ -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>

View File

@ -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>