kindred 0.0.4 → 0.0.5

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: b421090a728ee4d577793daa54f0fd9c466694ee
4
- data.tar.gz: 7cfa98cbc0d52d353e1b2ef1087820efd16681fc
3
+ metadata.gz: ee4fb30dddb249c4a9a1846a18de21071b4911de
4
+ data.tar.gz: a7ebdb18e5e437f64b9f801790b4a1d6f62561a6
5
5
  SHA512:
6
- metadata.gz: 8628507353c77140621c8f0e8dac1629fe1f3a1314497b1068e3183d9b67a08d40113d2d0af2ff75f3a296931436705372b41e217858bf86e96684bac3812534
7
- data.tar.gz: 792b4363274f77c0ecbb6eefff3a00d562e6ee378f9f9029b1c0ca8f57d8678bed6d2cc9f71c677a25b5924f308706ae96e99294c078425e4b96aa943fd868d4
6
+ metadata.gz: 40ea2770890f92922be2ffdd1c144cba0eb266ff7138a76307bf589a72da5ca60b7366e4ab7697c13b3d905e5e4bb3764a58f7a4d4fe891753cacdd5e8b0af6a
7
+ data.tar.gz: 6f09bf80fa3057edee774f620e4d2e204e652f4f358186ce51296ced8014ffdf81e2f0919255c27b195abdb4295196d4b5d8cd243aefc658ff7730b95591308c
@@ -37,6 +37,10 @@ class App.ActivePage
37
37
  error_tag = $("[data-error][data-k-uuid='" + @uuid + "']")
38
38
  error_tag.hide()
39
39
 
40
+ remove_from_page: ->
41
+ $("[data-wrapper][data-k-uuid='" + @uuid + "']").remove()
42
+ $("[data-kindred-model]").find("div[data-k-uuid='" + @uuid + "']").remove()
43
+
40
44
  update_vals_on_page: ->
41
45
  $.each @attributes, (attr, val) =>
42
46
  $("[data-k-uuid='" + @uuid + "'][data-attr='" + attr + "']").val(val)
@@ -1,3 +1,3 @@
1
1
  module Kindred
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kindred
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Piccolo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-20 00:00:00.000000000 Z
11
+ date: 2015-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails