happo 2.7.0 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f44c560afe02096d68d9a04a2f2f8bb787768ae
4
- data.tar.gz: a88fa0dcd66c6c1cd21b2dfd05914da55a0b5814
3
+ metadata.gz: 75596225d55dc7884b6c3554deb8cde505363bdc
4
+ data.tar.gz: e74f833fe32f7c47fe6d7159577182ce9fed74bb
5
5
  SHA512:
6
- metadata.gz: 47ed2b3c591ccfa1acf1cbf47bc917fd2f71c917b9d8de65e97ca40fc8d4fa428e458bbd3a6c616e7bc7b8b1dffddec055a5855f50514f49b7f0f403d9c0650a
7
- data.tar.gz: bef158db3def1a19b72caa132a87abcf0cfe16298112fb0559d0e9f0637a32d3274cafce16557cc50a6935f1d9ad52745767589c0fd0a3cbfe3c236c793c6491
6
+ metadata.gz: 1aab193cbdd1613179a5e2eb419886908678329ded450de3519cefee347823d9f7a69f15ae66952fd0572a044f79d5d65083500a1bdcdab2143687a93bd9515a
7
+ data.tar.gz: 12f443f6b378f0f9ffce390f83119025836db0968362159f966ba0a5d2b178d92457db1090670175ebd5197bbc7047cf0be7710eee8d07c23d4e8d952da5b40b
@@ -120,7 +120,9 @@ window.happo = {
120
120
 
121
121
  // Clear out the body of the document
122
122
  while (document.body.firstChild) {
123
- this.cleanOutElement(document.body.firstChild);
123
+ if (document.body.firstChild instanceof Element) {
124
+ this.cleanOutElement(document.body.firstChild);
125
+ }
124
126
  document.body.removeChild(document.body.firstChild);
125
127
  }
126
128
 
@@ -1,4 +1,4 @@
1
1
  # Defines the gem version.
2
2
  module Happo
3
- VERSION = '2.7.0'
3
+ VERSION = '2.7.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: happo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henric Trotzig