live_record 0.0.3 → 0.0.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: c0ded9cf6593200ae2c6ebc9456ab7e3d9b8080e
4
- data.tar.gz: 0add3af822b794c8e002ff16afcff59051fea5cc
3
+ metadata.gz: 3a7ce4c6e3d1f684926289b479d1acf70eefd870
4
+ data.tar.gz: 44c06e78171c35d4c42b76ba90ea8acac76e87d0
5
5
  SHA512:
6
- metadata.gz: 20e77e4a34688bc6513e9eac13a00e60790b4a96d82ba5f9fd3b6057c368c2d9c1a2a12a719c0dee810562a5c4be2353141a9470ad7d4d44235f5058192ebafa
7
- data.tar.gz: d18db364eadaedb3ed37a72cd9e163ae169aa5f694d508897670e0fce13d435115e0abda7aae9948ebe58e832d9234b3905da2e335409c1075692462125a91bf
6
+ metadata.gz: c9edd5e90852ffed01e349b8b75486d3d8048af00bdc1a66498d5f9b354afc0b00b00789392b66150bcb858bba6affd2fea92af4e0cc830c053403fb4e2076ca
7
+ data.tar.gz: fddf629d3b446a73d8db1be047e0d976b11aefe747d69892074d9e12e57e27edfc088f3c1ea621056825207f87b21c7b59be8a9f276ecb5f3e88bebb2146d038
data/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  ## Demo
16
16
 
17
- * https://live-record-example.herokuapp.com/posts
17
+ * https://live-record-example.herokuapp.com/
18
18
 
19
19
  ## Usage Example
20
20
 
@@ -2,7 +2,3 @@
2
2
  //= require_directory ./live_record/
3
3
 
4
4
  this.LiveRecord || (this.LiveRecord = {});
5
-
6
- if (window.jQuery === undefined) {
7
- throw new Error('jQuery is not loaded yet, and is a dependency of LiveRecord')
8
- }
@@ -1,5 +1,9 @@
1
1
  this.LiveRecord.plugins.LiveDOM || (this.LiveRecord.plugins.LiveDOM = {});
2
2
 
3
+ if (window.jQuery === undefined) {
4
+ throw new Error('jQuery is not loaded yet, and is a dependency of LiveRecord')
5
+ }
6
+
3
7
  LiveRecord.plugins.LiveDOM.applyToModel = (Model, pluginValue) ->
4
8
  return if pluginValue != true
5
9
 
@@ -1,3 +1,3 @@
1
1
  module LiveRecord
2
- VERSION = '0.0.3'.freeze
2
+ VERSION = '0.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: live_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jules Roman B. Polidario