maglove 2.0.10 → 2.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 712898026a8b6a643c52765f8a44be7c3ec9cc76
4
- data.tar.gz: ab912316813a5e8775ac9c85102e679953ce396a
3
+ metadata.gz: 45a64c5085a4fd34269931cd2b0d6bba50fc22cf
4
+ data.tar.gz: e531acfb265c3f4116c06ea5ff7427e3aa15feca
5
5
  SHA512:
6
- metadata.gz: ecdb669342b8f0e908211f7dc25a9f59579fc7254478cea680f393f69322ad6ffeff0bbd8262862d98bced6326ac1e976ee65c35e42065719ad70cdec4b00433
7
- data.tar.gz: '03848697b3765474f80d968fabcc070b3bf3e6bdca0e00a44b53dc6997dbd83e353a8d4287cb8f250ce2fbdfa87892aeaae6721b237241a49f31ba4f7db2a156'
6
+ metadata.gz: ed7c41bdcbe31c01af2c0c28ceddbf79daadf26d5ea3ea10ae90e07e1b3aa9a9ada35498a0d52568c634eb7511ad0147b7c22754b3d54dc625ca87ac78e708df
7
+ data.tar.gz: 6ccc40a827c9cd016c5536be48c7aa92796113f8f20c2c5f28f6b6f46a5d8497c0ee01feaa770a318dfa1f230fc5edf83749d4a4d31a75c4d20b30a4d884a82f
@@ -58,6 +58,8 @@ export default class MagLove {
58
58
  }
59
59
 
60
60
  mount() {
61
+ const pageWidget = document.querySelector('page-widget')
62
+ if (!pageWidget) { return }
61
63
  widgets.ready().then(() => {
62
64
  widgets.mount(document.querySelector('page-widget'))
63
65
  })
@@ -1,3 +1,3 @@
1
1
  module MagLove
2
- VERSION = "2.0.10"
2
+ VERSION = "2.0.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maglove
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.10
4
+ version: 2.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-18 00:00:00.000000000 Z
11
+ date: 2018-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler