rails_pitfall 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +127 -0
- data/LICENSE.txt +1 -0
- data/README.md +45 -0
- data/Rakefile +1 -0
- data/lib/rails_pitfall/version.rb +3 -0
- data/lib/rails_pitfall.rb +17 -0
- data/rails_pitfall-1.0.5.gem +0 -0
- data/rails_pitfall.gemspec +25 -0
- data/vendor/assets/.DS_Store +0 -0
- data/vendor/assets/images/.DS_Store +0 -0
- data/vendor/assets/images/BK2menu.png +0 -0
- data/vendor/assets/images/backgrounds/.DS_Store +0 -0
- data/vendor/assets/images/backgrounds/Archive.zip +0 -0
- data/vendor/assets/images/backgrounds/BKwild_oliva_light.png +0 -0
- data/vendor/assets/images/backgrounds/lghtmesh.png +0 -0
- data/vendor/assets/images/backgrounds/untitled folder/.DS_Store +0 -0
- data/vendor/assets/images/backgrounds/untitled folder/wild_oliva.png +0 -0
- data/vendor/assets/images/backgrounds/untitled folder/wild_oliva_dark.png +0 -0
- data/vendor/assets/images/backgrounds/untitled folder/wild_oliva_light.png +0 -0
- data/vendor/assets/images/backgrounds/untitled folder/wild_oliva_light_head.png +0 -0
- data/vendor/assets/images/backgrounds/white.png +0 -0
- data/vendor/assets/images/backgrounds/wild_oliva.png +0 -0
- data/vendor/assets/images/backgrounds/wild_oliva_blue_dark.png +0 -0
- data/vendor/assets/images/backgrounds/wild_oliva_blue_light.png +0 -0
- data/vendor/assets/images/backgrounds/wild_oliva_dark.png +0 -0
- data/vendor/assets/images/backgrounds/wild_oliva_light.png +0 -0
- data/vendor/assets/images/backgrounds/wild_oliva_light_head.png +0 -0
- data/vendor/assets/images/menu.png +0 -0
- data/vendor/assets/images/ui.totop.png +0 -0
- data/vendor/assets/javascript/easing.js +141 -0
- data/vendor/assets/javascript/isotope/jquery.isotope.js +1407 -0
- data/vendor/assets/javascript/jquery.isotope.js +1407 -0
- data/vendor/assets/javascript/jquery.ui/jquery.ui.totop.js +55 -0
- data/vendor/assets/javascript/jquery.ui.totop.js +55 -0
- data/vendor/assets/javascript/rails_pitfall.js +9 -0
- data/vendor/assets/javascript/rails_pitfall_modernizer.js +4 -0
- data/vendor/assets/javascript/restart_theme.js +213 -0
- data/vendor/assets/stylesheets/Bakup-custom_variables.less +301 -0
- data/vendor/assets/stylesheets/animate/animate.css +3263 -0
- data/vendor/assets/stylesheets/animate.css +3263 -0
- data/vendor/assets/stylesheets/bootstrap_customization.less +2 -0
- data/vendor/assets/stylesheets/custom_variables.less +301 -0
- data/vendor/assets/stylesheets/flexslider_customization.css +20 -0
- data/vendor/assets/stylesheets/font-awesome-ie7.min.css +22 -0
- data/vendor/assets/stylesheets/fontawesome_customization.less +6 -0
- data/vendor/assets/stylesheets/isotope/css/style.css +77 -0
- data/vendor/assets/stylesheets/rails_pitfall.css.scss +11 -0
- data/vendor/assets/stylesheets/reset.css +45 -0
- data/vendor/assets/stylesheets/style.css +77 -0
- data/vendor/assets/stylesheets/style.css.zip +0 -0
- data/vendor/assets/stylesheets/style.less +1974 -0
- data/vendor/images/.DS_Store +0 -0
- data/vendor/images/BKmenu.png +0 -0
- data/vendor/images/backgrounds/.DS_Store +0 -0
- data/vendor/images/backgrounds/BKwild_oliva_light.png +0 -0
- data/vendor/images/backgrounds/wild_oliva.png +0 -0
- data/vendor/images/backgrounds/wild_oliva_blue_dark.png +0 -0
- data/vendor/images/backgrounds/wild_oliva_blue_light.png +0 -0
- data/vendor/images/backgrounds/wild_oliva_dark.png +0 -0
- data/vendor/images/backgrounds/wild_oliva_light.png +0 -0
- data/vendor/images/backgrounds/wild_oliva_light_head.png +0 -0
- data/vendor/images/menu.png +0 -0
- data/vendor/images/ui.totop.png +0 -0
- data/vendor/javascript/easing.js +141 -0
- data/vendor/javascript/isotope/jquery.isotope.js +1407 -0
- data/vendor/javascript/jquery.ui/jquery.ui.totop.js +55 -0
- data/vendor/javascript/rails_pitfall.js +9 -0
- data/vendor/javascript/rails_pitfall_modernizer.js +4 -0
- data/vendor/javascript/restart_theme.js +213 -0
- data/vendor/stylesheets/animate/animate.css +3263 -0
- data/vendor/stylesheets/bootstrap_customization.less +2 -0
- data/vendor/stylesheets/custom_variables.less +301 -0
- data/vendor/stylesheets/flexslider_customization.css +20 -0
- data/vendor/stylesheets/font-awesome-ie7.min.css +22 -0
- data/vendor/stylesheets/fontawesome_customization.less +6 -0
- data/vendor/stylesheets/isotope/css/style.css +77 -0
- data/vendor/stylesheets/rails_pitfall.css.scss +11 -0
- data/vendor/stylesheets/reset.css +45 -0
- data/vendor/stylesheets/style.less +1974 -0
- metadata +84 -3
data/.DS_Store
ADDED
Binary file
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rails_pitfall (0.0.2)
|
5
|
+
flexslider (= 2.0.2)
|
6
|
+
jquery-rails (~> 2.0)
|
7
|
+
less-rails (~> 2.2)
|
8
|
+
prettyphoto-rails (= 0.2.0)
|
9
|
+
twitter-bootstrap-rails (~> 2.2)
|
10
|
+
|
11
|
+
GEM
|
12
|
+
remote: https://rubygems.org/
|
13
|
+
specs:
|
14
|
+
actionmailer (3.2.13)
|
15
|
+
actionpack (= 3.2.13)
|
16
|
+
mail (~> 2.5.3)
|
17
|
+
actionpack (3.2.13)
|
18
|
+
activemodel (= 3.2.13)
|
19
|
+
activesupport (= 3.2.13)
|
20
|
+
builder (~> 3.0.0)
|
21
|
+
erubis (~> 2.7.0)
|
22
|
+
journey (~> 1.0.4)
|
23
|
+
rack (~> 1.4.5)
|
24
|
+
rack-cache (~> 1.2)
|
25
|
+
rack-test (~> 0.6.1)
|
26
|
+
sprockets (~> 2.2.1)
|
27
|
+
activemodel (3.2.13)
|
28
|
+
activesupport (= 3.2.13)
|
29
|
+
builder (~> 3.0.0)
|
30
|
+
activerecord (3.2.13)
|
31
|
+
activemodel (= 3.2.13)
|
32
|
+
activesupport (= 3.2.13)
|
33
|
+
arel (~> 3.0.2)
|
34
|
+
tzinfo (~> 0.3.29)
|
35
|
+
activeresource (3.2.13)
|
36
|
+
activemodel (= 3.2.13)
|
37
|
+
activesupport (= 3.2.13)
|
38
|
+
activesupport (3.2.13)
|
39
|
+
i18n (= 0.6.1)
|
40
|
+
multi_json (~> 1.0)
|
41
|
+
arel (3.0.2)
|
42
|
+
builder (3.0.4)
|
43
|
+
commonjs (0.2.6)
|
44
|
+
erubis (2.7.0)
|
45
|
+
execjs (1.4.0)
|
46
|
+
multi_json (~> 1.0)
|
47
|
+
flexslider (2.0.2)
|
48
|
+
hike (1.2.2)
|
49
|
+
i18n (0.6.1)
|
50
|
+
journey (1.0.4)
|
51
|
+
jquery-rails (2.2.1)
|
52
|
+
railties (>= 3.0, < 5.0)
|
53
|
+
thor (>= 0.14, < 2.0)
|
54
|
+
json (1.7.7)
|
55
|
+
less (2.3.2)
|
56
|
+
commonjs (~> 0.2.6)
|
57
|
+
less-rails (2.3.3)
|
58
|
+
actionpack (>= 3.1)
|
59
|
+
less (~> 2.3.1)
|
60
|
+
mail (2.5.3)
|
61
|
+
i18n (>= 0.4.0)
|
62
|
+
mime-types (~> 1.16)
|
63
|
+
treetop (~> 1.4.8)
|
64
|
+
mime-types (1.23)
|
65
|
+
multi_json (1.7.3)
|
66
|
+
polyglot (0.3.3)
|
67
|
+
prettyphoto-rails (0.2.0)
|
68
|
+
jquery-rails
|
69
|
+
rails (>= 3.1)
|
70
|
+
sass-rails
|
71
|
+
uglifier
|
72
|
+
rack (1.4.5)
|
73
|
+
rack-cache (1.2)
|
74
|
+
rack (>= 0.4)
|
75
|
+
rack-ssl (1.3.3)
|
76
|
+
rack
|
77
|
+
rack-test (0.6.2)
|
78
|
+
rack (>= 1.0)
|
79
|
+
rails (3.2.13)
|
80
|
+
actionmailer (= 3.2.13)
|
81
|
+
actionpack (= 3.2.13)
|
82
|
+
activerecord (= 3.2.13)
|
83
|
+
activeresource (= 3.2.13)
|
84
|
+
activesupport (= 3.2.13)
|
85
|
+
bundler (~> 1.0)
|
86
|
+
railties (= 3.2.13)
|
87
|
+
railties (3.2.13)
|
88
|
+
actionpack (= 3.2.13)
|
89
|
+
activesupport (= 3.2.13)
|
90
|
+
rack-ssl (~> 1.3.2)
|
91
|
+
rake (>= 0.8.7)
|
92
|
+
rdoc (~> 3.4)
|
93
|
+
thor (>= 0.14.6, < 2.0)
|
94
|
+
rake (10.0.4)
|
95
|
+
rdoc (3.12.2)
|
96
|
+
json (~> 1.4)
|
97
|
+
sass (3.2.9)
|
98
|
+
sass-rails (3.2.6)
|
99
|
+
railties (~> 3.2.0)
|
100
|
+
sass (>= 3.1.10)
|
101
|
+
tilt (~> 1.3)
|
102
|
+
sprockets (2.2.2)
|
103
|
+
hike (~> 1.2)
|
104
|
+
multi_json (~> 1.0)
|
105
|
+
rack (~> 1.0)
|
106
|
+
tilt (~> 1.1, != 1.3.0)
|
107
|
+
thor (0.18.1)
|
108
|
+
tilt (1.4.1)
|
109
|
+
treetop (1.4.12)
|
110
|
+
polyglot
|
111
|
+
polyglot (>= 0.3.1)
|
112
|
+
twitter-bootstrap-rails (2.2.6)
|
113
|
+
actionpack (>= 3.1)
|
114
|
+
execjs
|
115
|
+
railties (>= 3.1)
|
116
|
+
tzinfo (0.3.37)
|
117
|
+
uglifier (2.1.0)
|
118
|
+
execjs (>= 0.3.0)
|
119
|
+
multi_json (~> 1.0, >= 1.0.2)
|
120
|
+
|
121
|
+
PLATFORMS
|
122
|
+
ruby
|
123
|
+
|
124
|
+
DEPENDENCIES
|
125
|
+
bundler (~> 1.3)
|
126
|
+
rails_pitfall!
|
127
|
+
rake
|
data/LICENSE.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Copyright (c) 2013 by Oscar Yunue.
|
data/README.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# RailsPitfall
|
2
|
+
|
3
|
+
A bundle of components already configured, for an adaptable/all-purpose application.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
Install the Gem yourself by executing:
|
7
|
+
|
8
|
+
$ gem install rails_pitfall
|
9
|
+
|
10
|
+
in the directory you downloaded the Gem.
|
11
|
+
|
12
|
+
|
13
|
+
Add this line to your application's Gemfile:
|
14
|
+
|
15
|
+
gem 'rails_pitfall'
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Then add this to app/assets/javascripts/application.js
|
22
|
+
|
23
|
+
//= require rails_pitfall
|
24
|
+
|
25
|
+
And this to app/assets/stylesheets/application.css
|
26
|
+
|
27
|
+
*= require rails_pitfall
|
28
|
+
|
29
|
+
## Gem Features
|
30
|
+
* Smooth architecture
|
31
|
+
* Responsive Design
|
32
|
+
* Good typography and large photography
|
33
|
+
* Built with {less}
|
34
|
+
* Subtle animations & a fresh collapsing header effect
|
35
|
+
|
36
|
+
|
37
|
+
* jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
|
38
|
+
* Bootstrap v3.0
|
39
|
+
* Background - http://subtlepatterns.com*
|
40
|
+
* Font Awesome 3.0.2 Created & Maintained by Dave Gandy (http://fortawesome.github.io/)
|
41
|
+
* Modernizr 2.6.2, a JavaScript library that detects HTML5 and CSS3 features in the user’s browser(http://modernizr.com)
|
42
|
+
* Animate.css * http://daneden.me/animate
|
43
|
+
* UItoTop jQuery Plugin 1.2 by Matt Varone
|
44
|
+
* Background pattern by Subtle Patterns(http://subtlepatterns.com/)
|
45
|
+
* Google OpenSans Webfont
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require "rails_pitfall/version"
|
2
|
+
|
3
|
+
module RailsPitfall
|
4
|
+
class Engine < ::Rails::Engine
|
5
|
+
require "twitter-bootstrap-rails"
|
6
|
+
require "flexslider"
|
7
|
+
require "prettyphoto-rails"
|
8
|
+
require "jquery-rails"
|
9
|
+
require "less-rails"
|
10
|
+
|
11
|
+
if Rails.version >= '3.1'
|
12
|
+
initializer :assets do |config|
|
13
|
+
Rails.application.config.assets.precompile += %w( font-awesome-ie7.min.css rails_pitfall_modernizer.js )
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
Binary file
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rails_pitfall/version'
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "rails_pitfall"
|
7
|
+
spec.version = RailsPitfall::VERSION
|
8
|
+
spec.authors = ["Oscar Yunue"]
|
9
|
+
spec.email = ["oscaryunue@gmail.com"]
|
10
|
+
spec.description = %q{Bundle of components already configured, for an adaptable/all-purpose application.}
|
11
|
+
spec.summary = %q{install and configure all you need for a multipurpose application.}
|
12
|
+
spec.homepage = "https://rubygems.org/gems/rails_pitfall"
|
13
|
+
spec.license = "MIT"
|
14
|
+
spec.files = `git ls-files`.split($/)
|
15
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
16
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
|
+
spec.require_paths = ["lib"]
|
18
|
+
spec.add_dependency "twitter-bootstrap-rails", " ~> 2.2"
|
19
|
+
spec.add_dependency "flexslider", "2.0.2"
|
20
|
+
spec.add_dependency "prettyphoto-rails", "0.2.0"
|
21
|
+
spec.add_dependency "jquery-rails", "~> 2.0"
|
22
|
+
spec.add_dependency "less-rails", "~> 2.2"
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
24
|
+
spec.add_development_dependency "rake"
|
25
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,141 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery EasIng v1.1.2 - http://gsgd.co.uk/sandbox/jquery.easIng.php
|
3
|
+
*
|
4
|
+
* Uses the built In easIng capabilities added In jQuery 1.1
|
5
|
+
* to offer multiple easIng options
|
6
|
+
*
|
7
|
+
* Copyright (c) 2007 George Smith
|
8
|
+
* Licensed under the MIT License:
|
9
|
+
* http://www.opensource.org/licenses/mit-license.php
|
10
|
+
*/
|
11
|
+
|
12
|
+
// t: current time, b: begInnIng value, c: change In value, d: duration
|
13
|
+
|
14
|
+
jQuery.extend( jQuery.easing,
|
15
|
+
{
|
16
|
+
easeInQuad: function (x, t, b, c, d) {
|
17
|
+
return c*(t/=d)*t + b;
|
18
|
+
},
|
19
|
+
easeOutQuad: function (x, t, b, c, d) {
|
20
|
+
return -c *(t/=d)*(t-2) + b;
|
21
|
+
},
|
22
|
+
easeInOutQuad: function (x, t, b, c, d) {
|
23
|
+
if ((t/=d/2) < 1) return c/2*t*t + b;
|
24
|
+
return -c/2 * ((--t)*(t-2) - 1) + b;
|
25
|
+
},
|
26
|
+
easeInCubic: function (x, t, b, c, d) {
|
27
|
+
return c*(t/=d)*t*t + b;
|
28
|
+
},
|
29
|
+
easeOutCubic: function (x, t, b, c, d) {
|
30
|
+
return c*((t=t/d-1)*t*t + 1) + b;
|
31
|
+
},
|
32
|
+
easeInOutCubic: function (x, t, b, c, d) {
|
33
|
+
if ((t/=d/2) < 1) return c/2*t*t*t + b;
|
34
|
+
return c/2*((t-=2)*t*t + 2) + b;
|
35
|
+
},
|
36
|
+
easeInQuart: function (x, t, b, c, d) {
|
37
|
+
return c*(t/=d)*t*t*t + b;
|
38
|
+
},
|
39
|
+
easeOutQuart: function (x, t, b, c, d) {
|
40
|
+
return -c * ((t=t/d-1)*t*t*t - 1) + b;
|
41
|
+
},
|
42
|
+
easeInOutQuart: function (x, t, b, c, d) {
|
43
|
+
if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
|
44
|
+
return -c/2 * ((t-=2)*t*t*t - 2) + b;
|
45
|
+
},
|
46
|
+
easeInQuint: function (x, t, b, c, d) {
|
47
|
+
return c*(t/=d)*t*t*t*t + b;
|
48
|
+
},
|
49
|
+
easeOutQuint: function (x, t, b, c, d) {
|
50
|
+
return c*((t=t/d-1)*t*t*t*t + 1) + b;
|
51
|
+
},
|
52
|
+
easeInOutQuint: function (x, t, b, c, d) {
|
53
|
+
if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
|
54
|
+
return c/2*((t-=2)*t*t*t*t + 2) + b;
|
55
|
+
},
|
56
|
+
easeInSine: function (x, t, b, c, d) {
|
57
|
+
return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
|
58
|
+
},
|
59
|
+
easeOutSine: function (x, t, b, c, d) {
|
60
|
+
return c * Math.sin(t/d * (Math.PI/2)) + b;
|
61
|
+
},
|
62
|
+
easeInOutSine: function (x, t, b, c, d) {
|
63
|
+
return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
|
64
|
+
},
|
65
|
+
easeInExpo: function (x, t, b, c, d) {
|
66
|
+
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
|
67
|
+
},
|
68
|
+
easeOutExpo: function (x, t, b, c, d) {
|
69
|
+
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
|
70
|
+
},
|
71
|
+
easeInOutExpo: function (x, t, b, c, d) {
|
72
|
+
if (t==0) return b;
|
73
|
+
if (t==d) return b+c;
|
74
|
+
if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
|
75
|
+
return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
|
76
|
+
},
|
77
|
+
easeInCirc: function (x, t, b, c, d) {
|
78
|
+
return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
|
79
|
+
},
|
80
|
+
easeOutCirc: function (x, t, b, c, d) {
|
81
|
+
return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
|
82
|
+
},
|
83
|
+
easeInOutCirc: function (x, t, b, c, d) {
|
84
|
+
if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
|
85
|
+
return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
|
86
|
+
},
|
87
|
+
easeInElastic: function (x, t, b, c, d) {
|
88
|
+
var s=1.70158;var p=0;var a=c;
|
89
|
+
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
|
90
|
+
if (a < Math.abs(c)) { a=c; var s=p/4; }
|
91
|
+
else var s = p/(2*Math.PI) * Math.asin (c/a);
|
92
|
+
return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
|
93
|
+
},
|
94
|
+
easeOutElastic: function (x, t, b, c, d) {
|
95
|
+
var s=1.70158;var p=0;var a=c;
|
96
|
+
if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
|
97
|
+
if (a < Math.abs(c)) { a=c; var s=p/4; }
|
98
|
+
else var s = p/(2*Math.PI) * Math.asin (c/a);
|
99
|
+
return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
|
100
|
+
},
|
101
|
+
easeInOutElastic: function (x, t, b, c, d) {
|
102
|
+
var s=1.70158;var p=0;var a=c;
|
103
|
+
if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
|
104
|
+
if (a < Math.abs(c)) { a=c; var s=p/4; }
|
105
|
+
else var s = p/(2*Math.PI) * Math.asin (c/a);
|
106
|
+
if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
|
107
|
+
return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
|
108
|
+
},
|
109
|
+
easeInBack: function (x, t, b, c, d, s) {
|
110
|
+
if (s == undefined) s = 1.70158;
|
111
|
+
return c*(t/=d)*t*((s+1)*t - s) + b;
|
112
|
+
},
|
113
|
+
easeOutBack: function (x, t, b, c, d, s) {
|
114
|
+
if (s == undefined) s = 1.70158;
|
115
|
+
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
|
116
|
+
},
|
117
|
+
easeInOutBack: function (x, t, b, c, d, s) {
|
118
|
+
if (s == undefined) s = 1.70158;
|
119
|
+
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
|
120
|
+
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
|
121
|
+
},
|
122
|
+
easeInBounce: function (x, t, b, c, d) {
|
123
|
+
return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
|
124
|
+
},
|
125
|
+
easeOutBounce: function (x, t, b, c, d) {
|
126
|
+
if ((t/=d) < (1/2.75)) {
|
127
|
+
return c*(7.5625*t*t) + b;
|
128
|
+
} else if (t < (2/2.75)) {
|
129
|
+
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
|
130
|
+
} else if (t < (2.5/2.75)) {
|
131
|
+
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
|
132
|
+
} else {
|
133
|
+
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
|
134
|
+
}
|
135
|
+
},
|
136
|
+
easeInOutBounce: function (x, t, b, c, d) {
|
137
|
+
if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
|
138
|
+
return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
|
139
|
+
}
|
140
|
+
});
|
141
|
+
|