tigger 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tigger/version.rb +3 -1
- data/lib/tigger.rb +8 -2
- metadata +1 -1
data/lib/tigger/version.rb
CHANGED
data/lib/tigger.rb
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
module Tigger
|
2
|
-
|
3
|
-
|
2
|
+
PROTOTYPE_JS = %w{prototype effects dragdrop controls}
|
3
|
+
|
4
|
+
module Rails
|
5
|
+
if ::Rails.version < "3.1"
|
6
|
+
require 'jquery-rails/railtie'
|
7
|
+
else
|
8
|
+
#require 'jquery-rails/engine'
|
9
|
+
end
|
4
10
|
end
|
5
11
|
end
|