No self.dom when emptying the container html. Add *.swp into gitignore.