flammarion_rails 0.3.1 → 0.3.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44ce507f7d3bf8082f68e808a018c5cc8b5466b7
|
4
|
+
data.tar.gz: b04f14799b1c17fe6ffd434f259cc779ed144483
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89f822e5ac1170735ba91398e9a196bae3d6a0e8c8f92be302fe352329ad86c013650db5d8848698728ab14628d396930f65fdefc552475ea7371de842cafec5
|
7
|
+
data.tar.gz: 44c69caf25426ff9e69dfd5d346f4f9d3495602333d7122dfe5021b220f516d6e5159a1c9f09b348f2c580dcec2485426ca9472c256eb0f9ae40ae3388789790
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# https://stackoverflow.com/questions/2238030/trigger-document-ready-so-ajax-code-i-cant-modify-is-executed#answer-8125920
|
2
|
+
window.readyList = []
|
3
|
+
|
4
|
+
# Store a reference to the original ready method.
|
5
|
+
window.originalReadyMethod = $.fn.ready
|
6
|
+
|
7
|
+
# Override jQuery.fn.ready
|
8
|
+
$.fn.ready = ->
|
9
|
+
if arguments.length && arguments.length > 0 && typeof arguments[0] == 'function'
|
10
|
+
window.readyList.push(arguments[0])
|
11
|
+
|
12
|
+
# Execute the original method.
|
13
|
+
window.originalReadyMethod.apply(this, arguments)
|
14
|
+
|
15
|
+
# Used to trigger all ready events
|
16
|
+
$.triggerReady = ->
|
17
|
+
$(window.readyList).each(-> this())
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flammarion_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrice Lebel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -245,7 +245,8 @@ files:
|
|
245
245
|
- README.md
|
246
246
|
- Rakefile
|
247
247
|
- app/assets/javascripts/flammarion_rails/actions.coffee
|
248
|
-
- app/assets/javascripts/flammarion_rails/
|
248
|
+
- app/assets/javascripts/flammarion_rails/boot.coffee
|
249
|
+
- app/assets/javascripts/flammarion_rails/ui.coffee
|
249
250
|
- lib/flammarion/engraving.rb
|
250
251
|
- lib/flammarion/recognize_path.rb
|
251
252
|
- lib/flammarion/revelator.rb
|