Fixed correct resize usage for api 1.1.
Check if CP is visible before resizing.
Use events for resizing CP.
Increased patch version.
Merge branch 'master' into api-1.1
Merge branch 'api-1.1' into api-1.2
Trigger resize when elements are "redrawn".
Merge branch 'master' into api-1.1
Merge branch 'api-1.1' into api-1.2
Merge branch 'api-1.2' into cp-1.1

Conflicts:
	library.json