va_common 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -4
  3. data/app/assets/js/va_common_main.js +16 -1
  4. data/lib/va_common/version.rb +1 -1
  5. data/lib/va_common.rb +4 -0
  6. data/va_common.gemspec +15 -0
  7. metadata +200 -177
  8. data/app/assets/js/foundation/foundation.abide.js +0 -408
  9. data/app/assets/js/foundation/foundation.accordion.js +0 -88
  10. data/app/assets/js/foundation/foundation.alert.js +0 -43
  11. data/app/assets/js/foundation/foundation.clearing.js +0 -586
  12. data/app/assets/js/foundation/foundation.dropdown.js +0 -463
  13. data/app/assets/js/foundation/foundation.equalizer.js +0 -104
  14. data/app/assets/js/foundation/foundation.interchange.js +0 -359
  15. data/app/assets/js/foundation/foundation.joyride.js +0 -932
  16. data/app/assets/js/foundation/foundation.js +0 -725
  17. data/app/assets/js/foundation/foundation.magellan.js +0 -215
  18. data/app/assets/js/foundation/foundation.offcanvas.js +0 -152
  19. data/app/assets/js/foundation/foundation.orbit.js +0 -476
  20. data/app/assets/js/foundation/foundation.reveal.js +0 -498
  21. data/app/assets/js/foundation/foundation.slider.js +0 -281
  22. data/app/assets/js/foundation/foundation.tab.js +0 -249
  23. data/app/assets/js/foundation/foundation.tooltip.js +0 -339
  24. data/app/assets/js/foundation/foundation.topbar.js +0 -458
  25. data/app/assets/js/foundation.min.js +0 -6376
  26. data/app/assets/js/vendor/html5shiv.js +0 -8
  27. data/app/assets/js/vendor/jquery-1.11.0.min.js +0 -4
  28. data/app/assets/js/vendor/jquery.js +0 -9789
  29. data/app/assets/js/vendor/jquery.smooth-scroll.js +0 -255
  30. data/app/assets/js/vendor/jquery.stellar.js +0 -651
  31. data/app/assets/js/vendor/jquery.tipsy.js +0 -258
  32. data/app/assets/js/vendor/menu.js +0 -40
  33. data/app/assets/js/vendor/modernizr.custom.js +0 -4
  34. data/app/assets/js/vendor/respond.min.js +0 -6
  35. data/app/assets/js/vendor/selectivizr-1.0.3b.js +0 -560
  36. data/app/assets/js/vendor/tota11y.min.js +0 -28
  37. data/app/assets/js/vendor/wow.min.js +0 -2
  38. data/app/assets/stylesheets/foundation/_functions.scss +0 -146
  39. data/app/assets/stylesheets/foundation/_settings.scss +0 -1467
  40. data/app/assets/stylesheets/foundation/_variables.scss +0 -1286
  41. data/app/assets/stylesheets/foundation/components/_accordion.scss +0 -157
  42. data/app/assets/stylesheets/foundation/components/_alert-boxes.scss +0 -128
  43. data/app/assets/stylesheets/foundation/components/_block-grid.scss +0 -132
  44. data/app/assets/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
  45. data/app/assets/stylesheets/foundation/components/_button-groups.scss +0 -200
  46. data/app/assets/stylesheets/foundation/components/_buttons.scss +0 -259
  47. data/app/assets/stylesheets/foundation/components/_clearing.scss +0 -256
  48. data/app/assets/stylesheets/foundation/components/_dropdown-buttons.scss +0 -131
  49. data/app/assets/stylesheets/foundation/components/_dropdown.scss +0 -262
  50. data/app/assets/stylesheets/foundation/components/_flex-video.scss +0 -51
  51. data/app/assets/stylesheets/foundation/components/_forms.scss +0 -570
  52. data/app/assets/stylesheets/foundation/components/_global.scss +0 -481
  53. data/app/assets/stylesheets/foundation/components/_grid.scss +0 -289
  54. data/app/assets/stylesheets/foundation/components/_icon-bar.scss +0 -358
  55. data/app/assets/stylesheets/foundation/components/_inline-lists.scss +0 -57
  56. data/app/assets/stylesheets/foundation/components/_joyride.scss +0 -222
  57. data/app/assets/stylesheets/foundation/components/_keystrokes.scss +0 -61
  58. data/app/assets/stylesheets/foundation/components/_labels.scss +0 -106
  59. data/app/assets/stylesheets/foundation/components/_magellan.scss +0 -34
  60. data/app/assets/stylesheets/foundation/components/_offcanvas.scss +0 -515
  61. data/app/assets/stylesheets/foundation/components/_orbit.scss +0 -368
  62. data/app/assets/stylesheets/foundation/components/_pagination.scss +0 -162
  63. data/app/assets/stylesheets/foundation/components/_panels.scss +0 -101
  64. data/app/assets/stylesheets/foundation/components/_pricing-tables.scss +0 -150
  65. data/app/assets/stylesheets/foundation/components/_progress-bars.scss +0 -79
  66. data/app/assets/stylesheets/foundation/components/_range-slider.scss +0 -169
  67. data/app/assets/stylesheets/foundation/components/_reveal.scss +0 -202
  68. data/app/assets/stylesheets/foundation/components/_side-nav.scss +0 -116
  69. data/app/assets/stylesheets/foundation/components/_split-buttons.scss +0 -199
  70. data/app/assets/stylesheets/foundation/components/_sub-nav.scss +0 -123
  71. data/app/assets/stylesheets/foundation/components/_switches.scss +0 -238
  72. data/app/assets/stylesheets/foundation/components/_tables.scss +0 -135
  73. data/app/assets/stylesheets/foundation/components/_tabs.scss +0 -123
  74. data/app/assets/stylesheets/foundation/components/_thumbs.scss +0 -66
  75. data/app/assets/stylesheets/foundation/components/_toolbar.scss +0 -70
  76. data/app/assets/stylesheets/foundation/components/_tooltips.scss +0 -142
  77. data/app/assets/stylesheets/foundation/components/_top-bar.scss +0 -691
  78. data/app/assets/stylesheets/foundation/components/_type.scss +0 -525
  79. data/app/assets/stylesheets/foundation/components/_visibility.scss +0 -408
  80. data/app/assets/stylesheets/lib/_normalize.scss +0 -427
  81. data/app/assets/stylesheets/lib/bourbon/_bourbon-deprecated-upcoming.scss +0 -411
  82. data/app/assets/stylesheets/lib/bourbon/_bourbon.scss +0 -87
  83. data/app/assets/stylesheets/lib/bourbon/addons/_border-color.scss +0 -26
  84. data/app/assets/stylesheets/lib/bourbon/addons/_border-radius.scss +0 -48
  85. data/app/assets/stylesheets/lib/bourbon/addons/_border-style.scss +0 -25
  86. data/app/assets/stylesheets/lib/bourbon/addons/_border-width.scss +0 -25
  87. data/app/assets/stylesheets/lib/bourbon/addons/_buttons.scss +0 -64
  88. data/app/assets/stylesheets/lib/bourbon/addons/_clearfix.scss +0 -25
  89. data/app/assets/stylesheets/lib/bourbon/addons/_ellipsis.scss +0 -30
  90. data/app/assets/stylesheets/lib/bourbon/addons/_font-stacks.scss +0 -31
  91. data/app/assets/stylesheets/lib/bourbon/addons/_hide-text.scss +0 -27
  92. data/app/assets/stylesheets/lib/bourbon/addons/_margin.scss +0 -26
  93. data/app/assets/stylesheets/lib/bourbon/addons/_padding.scss +0 -26
  94. data/app/assets/stylesheets/lib/bourbon/addons/_position.scss +0 -48
  95. data/app/assets/stylesheets/lib/bourbon/addons/_prefixer.scss +0 -66
  96. data/app/assets/stylesheets/lib/bourbon/addons/_retina-image.scss +0 -25
  97. data/app/assets/stylesheets/lib/bourbon/addons/_size.scss +0 -51
  98. data/app/assets/stylesheets/lib/bourbon/addons/_text-inputs.scss +0 -112
  99. data/app/assets/stylesheets/lib/bourbon/addons/_timing-functions.scss +0 -34
  100. data/app/assets/stylesheets/lib/bourbon/addons/_triangle.scss +0 -63
  101. data/app/assets/stylesheets/lib/bourbon/addons/_word-wrap.scss +0 -29
  102. data/app/assets/stylesheets/lib/bourbon/css3/_animation.scss +0 -43
  103. data/app/assets/stylesheets/lib/bourbon/css3/_appearance.scss +0 -3
  104. data/app/assets/stylesheets/lib/bourbon/css3/_backface-visibility.scss +0 -3
  105. data/app/assets/stylesheets/lib/bourbon/css3/_background-image.scss +0 -42
  106. data/app/assets/stylesheets/lib/bourbon/css3/_background.scss +0 -55
  107. data/app/assets/stylesheets/lib/bourbon/css3/_border-image.scss +0 -59
  108. data/app/assets/stylesheets/lib/bourbon/css3/_calc.scss +0 -4
  109. data/app/assets/stylesheets/lib/bourbon/css3/_columns.scss +0 -47
  110. data/app/assets/stylesheets/lib/bourbon/css3/_filter.scss +0 -4
  111. data/app/assets/stylesheets/lib/bourbon/css3/_flex-box.scss +0 -287
  112. data/app/assets/stylesheets/lib/bourbon/css3/_font-face.scss +0 -24
  113. data/app/assets/stylesheets/lib/bourbon/css3/_font-feature-settings.scss +0 -4
  114. data/app/assets/stylesheets/lib/bourbon/css3/_hidpi-media-query.scss +0 -10
  115. data/app/assets/stylesheets/lib/bourbon/css3/_hyphens.scss +0 -4
  116. data/app/assets/stylesheets/lib/bourbon/css3/_image-rendering.scss +0 -14
  117. data/app/assets/stylesheets/lib/bourbon/css3/_keyframes.scss +0 -36
  118. data/app/assets/stylesheets/lib/bourbon/css3/_linear-gradient.scss +0 -38
  119. data/app/assets/stylesheets/lib/bourbon/css3/_perspective.scss +0 -8
  120. data/app/assets/stylesheets/lib/bourbon/css3/_placeholder.scss +0 -8
  121. data/app/assets/stylesheets/lib/bourbon/css3/_radial-gradient.scss +0 -39
  122. data/app/assets/stylesheets/lib/bourbon/css3/_selection.scss +0 -42
  123. data/app/assets/stylesheets/lib/bourbon/css3/_text-decoration.scss +0 -19
  124. data/app/assets/stylesheets/lib/bourbon/css3/_transform.scss +0 -15
  125. data/app/assets/stylesheets/lib/bourbon/css3/_transition.scss +0 -71
  126. data/app/assets/stylesheets/lib/bourbon/css3/_user-select.scss +0 -3
  127. data/app/assets/stylesheets/lib/bourbon/functions/_assign-inputs.scss +0 -11
  128. data/app/assets/stylesheets/lib/bourbon/functions/_contains-falsy.scss +0 -20
  129. data/app/assets/stylesheets/lib/bourbon/functions/_contains.scss +0 -26
  130. data/app/assets/stylesheets/lib/bourbon/functions/_is-length.scss +0 -11
  131. data/app/assets/stylesheets/lib/bourbon/functions/_is-light.scss +0 -21
  132. data/app/assets/stylesheets/lib/bourbon/functions/_is-number.scss +0 -11
  133. data/app/assets/stylesheets/lib/bourbon/functions/_is-size.scss +0 -13
  134. data/app/assets/stylesheets/lib/bourbon/functions/_modular-scale.scss +0 -69
  135. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-em.scss +0 -13
  136. data/app/assets/stylesheets/lib/bourbon/functions/_px-to-rem.scss +0 -15
  137. data/app/assets/stylesheets/lib/bourbon/functions/_shade.scss +0 -24
  138. data/app/assets/stylesheets/lib/bourbon/functions/_strip-units.scss +0 -17
  139. data/app/assets/stylesheets/lib/bourbon/functions/_tint.scss +0 -24
  140. data/app/assets/stylesheets/lib/bourbon/functions/_transition-property-name.scss +0 -22
  141. data/app/assets/stylesheets/lib/bourbon/functions/_unpack.scss +0 -27
  142. data/app/assets/stylesheets/lib/bourbon/helpers/_convert-units.scss +0 -21
  143. data/app/assets/stylesheets/lib/bourbon/helpers/_directional-values.scss +0 -96
  144. data/app/assets/stylesheets/lib/bourbon/helpers/_font-source-declaration.scss +0 -43
  145. data/app/assets/stylesheets/lib/bourbon/helpers/_gradient-positions-parser.scss +0 -13
  146. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-angle-parser.scss +0 -25
  147. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-gradient-parser.scss +0 -41
  148. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-positions-parser.scss +0 -61
  149. data/app/assets/stylesheets/lib/bourbon/helpers/_linear-side-corner-parser.scss +0 -31
  150. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-arg-parser.scss +0 -69
  151. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-gradient-parser.scss +0 -50
  152. data/app/assets/stylesheets/lib/bourbon/helpers/_radial-positions-parser.scss +0 -18
  153. data/app/assets/stylesheets/lib/bourbon/helpers/_render-gradients.scss +0 -26
  154. data/app/assets/stylesheets/lib/bourbon/helpers/_shape-size-stripper.scss +0 -10
  155. data/app/assets/stylesheets/lib/bourbon/helpers/_str-to-num.scss +0 -50
  156. data/app/assets/stylesheets/lib/bourbon/settings/_asset-pipeline.scss +0 -7
  157. data/app/assets/stylesheets/lib/bourbon/settings/_prefixer.scss +0 -9
  158. data/app/assets/stylesheets/lib/bourbon/settings/_px-to-em.scss +0 -1
  159. data/app/assets/stylesheets/lib/neat/_neat-helpers.scss +0 -8
  160. data/app/assets/stylesheets/lib/neat/_neat.scss +0 -23
  161. data/app/assets/stylesheets/lib/neat/functions/_new-breakpoint.scss +0 -49
  162. data/app/assets/stylesheets/lib/neat/functions/_private.scss +0 -114
  163. data/app/assets/stylesheets/lib/neat/grid/_box-sizing.scss +0 -15
  164. data/app/assets/stylesheets/lib/neat/grid/_direction-context.scss +0 -33
  165. data/app/assets/stylesheets/lib/neat/grid/_display-context.scss +0 -28
  166. data/app/assets/stylesheets/lib/neat/grid/_fill-parent.scss +0 -22
  167. data/app/assets/stylesheets/lib/neat/grid/_media.scss +0 -92
  168. data/app/assets/stylesheets/lib/neat/grid/_omega.scss +0 -87
  169. data/app/assets/stylesheets/lib/neat/grid/_outer-container.scss +0 -38
  170. data/app/assets/stylesheets/lib/neat/grid/_pad.scss +0 -25
  171. data/app/assets/stylesheets/lib/neat/grid/_private.scss +0 -35
  172. data/app/assets/stylesheets/lib/neat/grid/_row.scss +0 -52
  173. data/app/assets/stylesheets/lib/neat/grid/_shift.scss +0 -50
  174. data/app/assets/stylesheets/lib/neat/grid/_span-columns.scss +0 -94
  175. data/app/assets/stylesheets/lib/neat/grid/_to-deprecate.scss +0 -97
  176. data/app/assets/stylesheets/lib/neat/grid/_visual-grid.scss +0 -42
  177. data/app/assets/stylesheets/lib/neat/settings/_disable-warnings.scss +0 -13
  178. data/app/assets/stylesheets/lib/neat/settings/_grid.scss +0 -51
  179. data/app/assets/stylesheets/lib/neat/settings/_visual-grid.scss +0 -27
  180. data/app/assets/stylesheets/va_common_main.css.scss +0 -18
  181. /data/app/assets/js/{vendor/scroll-settings.js → scroll-settings.js} +0 -0
  182. /data/app/assets/js/{vendor/stellar-settings.js → stellar-settings.js} +0 -0
@@ -1,255 +0,0 @@
1
- /*!
2
- * Smooth Scroll - v1.4.13 - 2013-11-02
3
- * https://github.com/kswedberg/jquery-smooth-scroll
4
- * Copyright (c) 2013 Karl Swedberg
5
- * Licensed MIT (https://github.com/kswedberg/jquery-smooth-scroll/blob/master/LICENSE-MIT)
6
- */
7
-
8
- (function($) {
9
- var version = '1.4.13',
10
- optionOverrides = {},
11
- defaults = {
12
- exclude: [],
13
- excludeWithin:[],
14
- offset: 0,
15
-
16
- // one of 'top' or 'left'
17
- direction: 'top',
18
-
19
- // jQuery set of elements you wish to scroll (for $.smoothScroll).
20
- // if null (default), $('html, body').firstScrollable() is used.
21
- scrollElement: null,
22
-
23
- // only use if you want to override default behavior
24
- scrollTarget: null,
25
-
26
- // fn(opts) function to be called before scrolling occurs.
27
- // `this` is the element(s) being scrolled
28
- beforeScroll: function() {},
29
-
30
- // fn(opts) function to be called after scrolling occurs.
31
- // `this` is the triggering element
32
- afterScroll: function() {},
33
- easing: 'swing',
34
- speed: 400,
35
-
36
- // coefficient for "auto" speed
37
- autoCoefficent: 2,
38
-
39
- // $.fn.smoothScroll only: whether to prevent the default click action
40
- preventDefault: true
41
- },
42
-
43
- getScrollable = function(opts) {
44
- var scrollable = [],
45
- scrolled = false,
46
- dir = opts.dir && opts.dir == 'left' ? 'scrollLeft' : 'scrollTop';
47
-
48
- this.each(function() {
49
-
50
- if (this == document || this == window) { return; }
51
- var el = $(this);
52
- if ( el[dir]() > 0 ) {
53
- scrollable.push(this);
54
- } else {
55
- // if scroll(Top|Left) === 0, nudge the element 1px and see if it moves
56
- el[dir](1);
57
- scrolled = el[dir]() > 0;
58
- if ( scrolled ) {
59
- scrollable.push(this);
60
- }
61
- // then put it back, of course
62
- el[dir](0);
63
- }
64
- });
65
-
66
- // If no scrollable elements, fall back to <body>,
67
- // if it's in the jQuery collection
68
- // (doing this because Safari sets scrollTop async,
69
- // so can't set it to 1 and immediately get the value.)
70
- if (!scrollable.length) {
71
- this.each(function(index) {
72
- if (this.nodeName === 'BODY') {
73
- scrollable = [this];
74
- }
75
- });
76
- }
77
-
78
- // Use the first scrollable element if we're calling firstScrollable()
79
- if ( opts.el === 'first' && scrollable.length > 1 ) {
80
- scrollable = [ scrollable[0] ];
81
- }
82
-
83
- return scrollable;
84
- },
85
- isTouch = 'ontouchend' in document;
86
-
87
- $.fn.extend({
88
- scrollable: function(dir) {
89
- var scrl = getScrollable.call(this, {dir: dir});
90
- return this.pushStack(scrl);
91
- },
92
- firstScrollable: function(dir) {
93
- var scrl = getScrollable.call(this, {el: 'first', dir: dir});
94
- return this.pushStack(scrl);
95
- },
96
-
97
- smoothScroll: function(options, extra) {
98
- options = options || {};
99
-
100
- if ( options === 'options' ) {
101
- if ( !extra ) {
102
- return this.first().data('ssOpts');
103
- }
104
- return this.each(function() {
105
- var $this = $(this),
106
- opts = $.extend($this.data('ssOpts') || {}, extra);
107
-
108
- $(this).data('ssOpts', opts);
109
- });
110
- }
111
-
112
- var opts = $.extend({}, $.fn.smoothScroll.defaults, options),
113
- locationPath = $.smoothScroll.filterPath(location.pathname);
114
-
115
- this
116
- .unbind('click.smoothscroll')
117
- .bind('click.smoothscroll', function(event) {
118
- var link = this,
119
- $link = $(this),
120
- thisOpts = $.extend({}, opts, $link.data('ssOpts') || {}),
121
- exclude = opts.exclude,
122
- excludeWithin = thisOpts.excludeWithin,
123
- elCounter = 0, ewlCounter = 0,
124
- include = true,
125
- clickOpts = {},
126
- hostMatch = ((location.hostname === link.hostname) || !link.hostname),
127
- pathMatch = thisOpts.scrollTarget || ( $.smoothScroll.filterPath(link.pathname) || locationPath ) === locationPath,
128
- thisHash = escapeSelector(link.hash);
129
-
130
- if ( !thisOpts.scrollTarget && (!hostMatch || !pathMatch || !thisHash) ) {
131
- include = false;
132
- } else {
133
- while (include && elCounter < exclude.length) {
134
- if ($link.is(escapeSelector(exclude[elCounter++]))) {
135
- include = false;
136
- }
137
- }
138
- while ( include && ewlCounter < excludeWithin.length ) {
139
- if ($link.closest(excludeWithin[ewlCounter++]).length) {
140
- include = false;
141
- }
142
- }
143
- }
144
-
145
- if ( include ) {
146
-
147
- if ( thisOpts.preventDefault ) {
148
- event.preventDefault();
149
- }
150
-
151
- $.extend( clickOpts, thisOpts, {
152
- scrollTarget: thisOpts.scrollTarget || thisHash,
153
- link: link
154
- });
155
- $.smoothScroll( clickOpts );
156
- }
157
- });
158
-
159
- return this;
160
- }
161
- });
162
-
163
- $.smoothScroll = function(options, px) {
164
- if ( options === 'options' && typeof px === 'object' ) {
165
- return $.extend(optionOverrides, px);
166
- }
167
- var opts, $scroller, scrollTargetOffset, speed,
168
- scrollerOffset = 0,
169
- offPos = 'offset',
170
- scrollDir = 'scrollTop',
171
- aniProps = {},
172
- aniOpts = {},
173
- scrollprops = [];
174
-
175
- if (typeof options === 'number') {
176
- opts = $.extend({link: null}, $.fn.smoothScroll.defaults, optionOverrides);
177
- scrollTargetOffset = options;
178
- } else {
179
- opts = $.extend({link: null}, $.fn.smoothScroll.defaults, options || {}, optionOverrides);
180
- if (opts.scrollElement) {
181
- offPos = 'position';
182
- if (opts.scrollElement.css('position') == 'static') {
183
- opts.scrollElement.css('position', 'relative');
184
- }
185
- }
186
- }
187
-
188
- scrollDir = opts.direction == 'left' ? 'scrollLeft' : scrollDir;
189
-
190
- if ( opts.scrollElement ) {
191
- $scroller = opts.scrollElement;
192
- if ( !(/^(?:HTML|BODY)$/).test($scroller[0].nodeName) ) {
193
- scrollerOffset = $scroller[scrollDir]();
194
- }
195
- } else {
196
- $scroller = $('html, body').firstScrollable(opts.direction);
197
- }
198
-
199
- // beforeScroll callback function must fire before calculating offset
200
- opts.beforeScroll.call($scroller, opts);
201
-
202
- scrollTargetOffset = (typeof options === 'number') ? options :
203
- px ||
204
- ( $(opts.scrollTarget)[offPos]() &&
205
- $(opts.scrollTarget)[offPos]()[opts.direction] ) ||
206
- 0;
207
-
208
- aniProps[scrollDir] = scrollTargetOffset + scrollerOffset + opts.offset;
209
- speed = opts.speed;
210
-
211
- // automatically calculate the speed of the scroll based on distance / coefficient
212
- if (speed === 'auto') {
213
-
214
- // if aniProps[scrollDir] == 0 then we'll use scrollTop() value instead
215
- speed = aniProps[scrollDir] || $scroller.scrollTop();
216
-
217
- // divide the speed by the coefficient
218
- speed = speed / opts.autoCoefficent;
219
- }
220
-
221
- aniOpts = {
222
- duration: speed,
223
- easing: opts.easing,
224
- complete: function() {
225
- opts.afterScroll.call(opts.link, opts);
226
- }
227
- };
228
-
229
- if (opts.step) {
230
- aniOpts.step = opts.step;
231
- }
232
-
233
- if ($scroller.length) {
234
- $scroller.stop().animate(aniProps, aniOpts);
235
- } else {
236
- opts.afterScroll.call(opts.link, opts);
237
- }
238
- };
239
-
240
- $.smoothScroll.version = version;
241
- $.smoothScroll.filterPath = function(string) {
242
- return string
243
- .replace(/^\//,'')
244
- .replace(/(?:index|default).[a-zA-Z]{3,4}$/,'')
245
- .replace(/\/$/,'');
246
- };
247
-
248
- // default options
249
- $.fn.smoothScroll.defaults = defaults;
250
-
251
- function escapeSelector (str) {
252
- return str.replace(/(:|\.)/g,'\\$1');
253
- }
254
-
255
- })(jQuery);