simply_load 0.0.3 → 0.0.4

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.
data/.gitignore CHANGED
@@ -2,3 +2,4 @@
2
2
  .bundle
3
3
  Gemfile.lock
4
4
  pkg/*
5
+ /.idea/
@@ -1,11 +1,11 @@
1
1
  $(document).ready(function() {
2
2
 
3
3
  // Load content into the elements with the auto_load class via Ajax
4
- auto_load_content($(this));
4
+ simply_load($(this));
5
5
 
6
6
  });
7
7
 
8
- function auto_load_content(element){
8
+ function simply_load(element){
9
9
  $.each($(element.find('.simply_load')), function(){
10
10
  $(this).load($(this).attr('data-href'));
11
11
  });
@@ -1,3 +1,3 @@
1
1
  module SimplyLoad
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: simply_load
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Firebait
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-14 00:00:00 Z
13
+ date: 2011-07-15 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jquery-rails