docs
comment of connect
add max method and max event
Merge branch 'master' into gh-pages
build