browse-everything 0.10.3 → 0.10.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5863bed03ca833eec713b397198c731d607234fa
|
4
|
+
data.tar.gz: e08f0deb438edda9aa2f31fc38cd7ea72c1accf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6779253458d0923ae17881205d5d4949a3520744cfcfd09b962c4219100068b02c67a2a99dabcc22b8a926d3b016c987f14f206634a3e74e9af0de2ea7c663a4
|
7
|
+
data.tar.gz: 32e870be303fc01a309cbb5d2942f76204e67663e9f3ee8f99ddfca28b9d51d770bc55166c412f41640295a0fac134f4d7e8eb8c10a8ba7dea893724b4721394
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
+
### 0.10.4 (2016-08-05)
|
2
|
+
Don't wait for auto-toggle if the explicit browseEverything() call is seen first.
|
3
|
+
|
1
4
|
### 0.10.3 (2016-07-12)
|
2
|
-
|
3
|
-
|
5
|
+
Support turbolinks 5 and previous versions
|
6
|
+
Optionally adding state to url so box and dropbox will work
|
4
7
|
|
5
8
|
### 0.10.2 (2016-05-31)
|
6
9
|
Pin google-api-client to 0.8.x
|
@@ -183,6 +183,7 @@ $ ->
|
|
183
183
|
|
184
184
|
$.fn.browseEverything = (options) ->
|
185
185
|
ctx = $(this).data('context')
|
186
|
+
options = $(this).data() unless (ctx? or options?)
|
186
187
|
if options?
|
187
188
|
ctx = initialize(this[0], options)
|
188
189
|
$(this).click () ->
|
@@ -302,7 +303,9 @@ $ ->
|
|
302
303
|
|
303
304
|
auto_toggle = ->
|
304
305
|
triggers = $('*[data-toggle=browse-everything]')
|
305
|
-
triggers.each () ->
|
306
|
+
triggers.each () ->
|
307
|
+
ctx = $(this).data('context')
|
308
|
+
$(this).browseEverything($(this).data()) unless ctx?
|
306
309
|
|
307
310
|
if Turbolinks? && Turbolinks.supported
|
308
311
|
# Use turbolinks:load for Turbolinks 5, otherwise use the old way
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browse-everything
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carolyn Cole
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2016-
|
16
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rails
|