issue #3837:Update the comment

This commit is contained in:
samuele3hu 2014-01-27 15:00:11 +08:00
parent 73f272ec7c
commit 9ddce1b4ba
2 changed files with 4 additions and 6 deletions

View File

@ -22,9 +22,8 @@ local function main()
if (cc.PLATFORM_OS_IPHONE == targetPlatform) or (cc.PLATFORM_OS_IPAD == targetPlatform) or
(cc.PLATFORM_OS_ANDROID == targetPlatform) or (cc.PLATFORM_OS_WINDOWS == targetPlatform) or
(cc.PLATFORM_OS_MAC == targetPlatform) then
require('mobdebug').start()
--for on-device debugging,the up call should change as follow:
--require('mobdebug').start('192.168.2.80') --'192.168.2.80' is your PC's IP
local host = 'localhost' -- please change localhost to your PC's IP for on-device debugging
require('mobdebug').start(host)
end
require "hello2"
cclog("result is " .. myadd(1, 1))

View File

@ -22,9 +22,8 @@ local function main()
if (cc.PLATFORM_OS_IPHONE == targetPlatform) or (cc.PLATFORM_OS_IPAD == targetPlatform) or
(cc.PLATFORM_OS_ANDROID == targetPlatform) or (cc.PLATFORM_OS_WINDOWS == targetPlatform) or
(cc.PLATFORM_OS_MAC == targetPlatform) then
require('mobdebug').start()
--for on-device debugging,the up call should change as follow:
--require('mobdebug').start('192.168.2.80') --'192.168.2.80' is your PC's IP
local host = 'localhost' -- please change localhost to your PC's IP for on-device debugging
require('mobdebug').start(host)
end
require "hello2"
cclog("result is " .. myadd(1, 1))