cocos2d/cocos2d-x — pull request #1792 by dualface (2012-12-26 11:05:21+00:00)
Title: [luabinding] make CCEditBox compatible Lua

HOW TO USE:

local editbox = CCEditBox:create(...)
editbox:registerScriptEditboxHandler(function(event, control)
if event == "ended" then
CCLuaLog(string.format("username = %s", control:getText()))
end
end)