smock 0.1.227 → 0.1.228

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smock (0.1.227)
4
+ smock (0.1.228)
5
5
  sass (= 3.2.19)
6
6
  thor (= 0.19.1)
7
7
 
@@ -3,8 +3,8 @@ require '../vendor/slick.js'
3
3
  class Smock.Slick
4
4
  constructor: (slickClass, options) ->
5
5
  @slickClass = slickClass
6
- @dots = options['dots'] || true
7
6
  @speed = options['speed'] || 10000
7
+ @dots = if options['dots']? then options['dots'] else true
8
8
 
9
9
  ready: =>
10
10
  $(@slickClass).slick(
@@ -620,7 +620,7 @@
620
620
  <script src="../../smock.js"></script>
621
621
  <script type="text/javascript" charset="utf-8">
622
622
  var dropdown = new Smock.CategoryDropdown().ready();
623
- var testimonialsSlick = new Smock.TestimonialSlick(".testimonial-slick").ready();
623
+ var testimonialsSlick = new Smock.Slick(".testimonial-slick", {dots: true, speed: 5000}).ready();
624
624
  </script>
625
625
  </body>
626
626
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.227
4
+ version: 0.1.228
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -2361,7 +2361,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
2361
2361
  version: '0'
2362
2362
  segments:
2363
2363
  - 0
2364
- hash: -3144116198175099949
2364
+ hash: -2728887431969853863
2365
2365
  required_rubygems_version: !ruby/object:Gem::Requirement
2366
2366
  none: false
2367
2367
  requirements:
@@ -2370,7 +2370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2370
2370
  version: '0'
2371
2371
  segments:
2372
2372
  - 0
2373
- hash: -3144116198175099949
2373
+ hash: -2728887431969853863
2374
2374
  requirements: []
2375
2375
  rubyforge_project: smock
2376
2376
  rubygems_version: 1.8.21