tao_on_rails 0.6.9 → 0.6.10

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: baa1c7707b5dfc2ee8fadb4429ac0d5a282361a3
4
- data.tar.gz: 4b8ebd902ad41e36c7d032214794cbd33129e66b
3
+ metadata.gz: d442c0d761cf1800a5672a241d0035ca892c1362
4
+ data.tar.gz: b3d66c06d294540820cdd47fe75d3eed8050f1c9
5
5
  SHA512:
6
- metadata.gz: cb4b8d438a66ae19872e134a1f6fb17d3d678ada36bbc89df9a92fbb8900b17fa80746f4427c175cda4e0fba96af27873924ea4ed7cac0c9d2ca192f09f09ae2
7
- data.tar.gz: ab90ecc6ce56d59ba4b9d804e58c990a8af562eacb7a0addc4a174992baa160f51c21d3b18955e6b283d2c5de5104428cf6c9d62259d7e0fdf2292fde10e939e
6
+ metadata.gz: 6ba37e74620ebc0550e3bfb324edffe819e1f36f41907ea41022bc1d51049a51bf90bc65c94a7142cacc2a3e2d28fcf2283f7f47ab8195a01ae0ecc325850229
7
+ data.tar.gz: b42dd040e7a954ca07602d408135cbc9890324e8ec3df526e0b0c5a0eadb8b2c5c0e1d19ad6cfbb8fc66f3404c2a03580f624bcba740d68892c50033d5c510a9
@@ -82,7 +82,7 @@ TaoComponentBasedOn = (superClassName = 'HTMLElement') ->
82
82
  @tag: '' # to be set by child class
83
83
 
84
84
  @register: (componentClass) ->
85
- return unless componentClass.tag
85
+ return unless componentClass.tag && window.customElements
86
86
  customElements.define componentClass.tag, componentClass
87
87
 
88
88
  @observedAttributes: []
@@ -100,7 +100,7 @@ TaoComponentBasedOn = (superClassName = 'HTMLElement') ->
100
100
  connectedCallback: ->
101
101
  $ =>
102
102
  @connected = true
103
-
103
+
104
104
  unless @initialized
105
105
  @taoId = ++count
106
106
  @_init()
@@ -1,3 +1,3 @@
1
1
  module TaoOnRails
2
- VERSION = "0.6.9"
2
+ VERSION = "0.6.10"
3
3
  end
@@ -64,5 +64,7 @@ E.default.Element_insertAdjacentElement?f(Element.prototype,E.default.Element_in
64
64
  Code distributed by Google as part of the polymer project is also
65
65
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
66
66
  */
67
- var N=window.customElements;if(!N||N.forcePolyfill||"function"!=typeof N.define||"function"!=typeof N.get){var O=new w.default;H.default(O);J.default(O);K.default(O);M.default(O);document.__CE_hasRegistry=!0;var P=new C.default(O);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:P})};
67
+ var N=window.customElements;if(window.MutationObserver&&(!N||N.forcePolyfill||"function"!=typeof N.define||"function"!=typeof N.get)){var O=new w.default;H.default(O);J.default(O);K.default(O);M.default(O);document.__CE_hasRegistry=!0;var P=new C.default(O);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:P})};
68
68
  }).call(self);
69
+
70
+ //# sourceMappingURL=custom-elements.min.js.map
@@ -3,5 +3,5 @@
3
3
  #= require jquery3
4
4
  #= require_self
5
5
 
6
- customElements.polyfillWrapFlushCallback? (flush) ->
6
+ window.customElements?.polyfillWrapFlushCallback? (flush) ->
7
7
  $ -> flush()
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tao_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siyuan Liu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-04 00:00:00.000000000 Z
12
+ date: 2017-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: turbolinks