docs($window): fix example