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
@@ -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
|
-
|
4
|
+
simply_load($(this));
|
5
5
|
|
6
6
|
});
|
7
7
|
|
8
|
-
function
|
8
|
+
function simply_load(element){
|
9
9
|
$.each($(element.find('.simply_load')), function(){
|
10
10
|
$(this).load($(this).attr('data-href'));
|
11
11
|
});
|
data/lib/simply_load/version.rb
CHANGED
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.
|
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-
|
13
|
+
date: 2011-07-15 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jquery-rails
|