twine-rails 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/twine.coffee +8 -4
- data/lib/twine-rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a1f8a165f50cdc666899675823de067c31981e5
|
4
|
+
data.tar.gz: 14a2d531c688fed6badb7144caee3ce4e54576b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50f4bcd70db07b862872902aa7952b8e6918cf613cd9c316dd77914a8cce9c4b6daaa03aa6fd3636b1f4441e3bede39ecfe0dfd4307537e94b5caf577459b2fc
|
7
|
+
data.tar.gz: 067ef8d649ec0933d121ec73a4b20880e8cc259a7f0e8d7ecbbb3ecaaa61de876b675d5c965c26208cbc5e06efde63512e3638be774aaaa90e21561a0ca4f926
|
@@ -1,11 +1,15 @@
|
|
1
1
|
((root, factory) ->
|
2
2
|
if typeof root.define == 'function' && root.define.amd
|
3
|
-
root.define([], factory)
|
3
|
+
root.define(['jquery'], factory)
|
4
4
|
else if typeof module == 'object' && module.exports
|
5
|
-
|
5
|
+
jQuery = if typeof window != 'undefined'
|
6
|
+
then require('jquery')
|
7
|
+
else require('jquery')(root)
|
8
|
+
|
9
|
+
module.exports = factory(jQuery)
|
6
10
|
else
|
7
|
-
root.Twine = factory()
|
8
|
-
)(this, ->
|
11
|
+
root.Twine = factory(root.jQuery)
|
12
|
+
)(this, (jQuery) ->
|
9
13
|
Twine = {}
|
10
14
|
Twine.shouldDiscardEvent = {}
|
11
15
|
|
data/lib/twine-rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twine-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Li
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2018-02-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: coffee-rails
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.6.14
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Minimalistic two-way bindings
|