check cb before call it
add new-publish timeout.

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
delete internal opts

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
change command in publish-timeout

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
use error value.

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
to store timer id.

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
missed one bracket

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
apply time-out to publish

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
error data.

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
only one parm in callback of publish

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
minor changes

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>
Merge branch 'publish-timeout-1' of https://github.com/yunba/MQTT.js into publish-timeout-1

Conflicts:
	lib/client.js

Signed-off-by: Liu.Bo <bliu_923@hotmail.com>