smarter_listing 0.2.5 → 0.2.6

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: 0a4b098e6859a2cc16de163f6295db108c24b812
4
- data.tar.gz: cc45839c66358ba89e81e3f71f63e4ac2f5e7de4
3
+ metadata.gz: c3f465babbf9c3d8fa8d66e8d5dea7772df3dc71
4
+ data.tar.gz: 9d1dcd1904e7b097d423a1c8ad8d542f99886f36
5
5
  SHA512:
6
- metadata.gz: d1f2c8967b4d98c2ba1123633f17628eef0165b2d5d5c0148168d8d53f22000d6b834fe3ed968724dbe4d64e516ae3ca26d749f9cf718ad296b074890b837150
7
- data.tar.gz: ca8e4850691842b0c13bd99bb3f6435ad60c8797215ef6a455d2fc92cec61d89614d2d1b410ff98801d4e6f58c7fdb85cb5380e1fe94c41d4084b00af4fcac38
6
+ metadata.gz: b551698692fe8a6a61a02d273cc000845ec9a84a617bcdea038156018fffb3ef5bc0c23b78fd636621f45d42e66b4b6bf66444695285d0c9f65c5c7544e0f035
7
+ data.tar.gz: 3f94b35acb8c752ff57de5835a1a838a0bfe990dcc535f953e4c84526c4e5b4080fc19657c7fbfd45349a09199c0f3d6843bd2492b4ab060c8e0cae7445cabe4
@@ -0,0 +1,7 @@
1
+ (function () {
2
+ var event = document.createEvent('Events');
3
+ event.initEvent('form:load', true, true);
4
+ event.model = '<%= collection_sym %>';
5
+ event.engine = '<%= current_engine %>';
6
+ document.dispatchEvent(event);
7
+ })();
@@ -1,3 +1,3 @@
1
1
  module SmarterListing
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smarter_listing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Sprauer
@@ -64,7 +64,7 @@ files:
64
64
  - README.md
65
65
  - Rakefile
66
66
  - app/views/smart_listing/_action_copy.html.erb
67
- - app/views/smarter_listing/_form_logic.js
67
+ - app/views/smarter_listing/_form_logic.js.erb
68
68
  - app/views/smarter_listing/copy.js.erb
69
69
  - app/views/smarter_listing/create.js.erb
70
70
  - app/views/smarter_listing/destroy.js.erb
@@ -1,9 +0,0 @@
1
- var name = 'form:load';
2
- var event;
3
-
4
- if (typeof Prototype !== 'undefined') {
5
- Event.fire(document, name, void 0, true);
6
- }
7
- event = document.createEvent('Events');
8
- event.initEvent(name, true, true);
9
- document.dispatchEvent(event);