slick_rails 1.3.15 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c27e415b6d726eeb3b9fb6747f289d2bb94a654
4
- data.tar.gz: 8d5e7c5af67fabcf97df6bc12ec1891f0ed7edff
3
+ metadata.gz: d1e7a79075a11b484bc3b4acf293779c2644d69c
4
+ data.tar.gz: 7b064576a6f7de025b46fde68bd471034246016f
5
5
  SHA512:
6
- metadata.gz: a7c10f8e466cda4c8f702b84bb79448c56f99e2a7675304e84aae05832c0d1ee16c9252c4e93cab7c0718f1c238fdd97e1aa8b6ca181f76bd73f0b79a0fdcdc3
7
- data.tar.gz: c2e5aa5dd0da61938f27b0a9bbcc7123c485af5bdabca6d16e35dce07f479efb47c931dc976c4646fd5d0c34a33b3df3e4a635d7a0fc86c7b62725009d5726c0
6
+ metadata.gz: 7b5086640348519bcc7f843b7f9ce5e0cad8578bd6938477f5cda551bcf51989ed208de0408392b7cbfa6a02e8a37f767bcf7e106962b054f796ab112b40bf74
7
+ data.tar.gz: 6b1ba11746cc712962ec2dd10b934ecb5259635559ee74a5164a82bad62df14ff1950abc914ccfe88f3cdf58ba871a982d07edd9e04ce44b602558002a11c17a
data/README.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # SlickRails
2
2
 
3
3
  Slick Carousel for Rails 3.1+ asset pipeline
4
+
5
+
6
+ ## Breaking change in 1.4.0 and up
7
+
8
+ well not exactly breaking, but notice that the theme and core are seperated stylesheets, so you need to require both (see usage below)
9
+
10
+
11
+
4
12
  ## Installation
5
13
 
6
14
  Add this line to your application's Gemfile:
@@ -18,23 +26,26 @@ Or install it yourself as:
18
26
  ## Usage
19
27
 
20
28
  add to js manifests
21
-
29
+
22
30
  //= require slick
23
-
31
+
24
32
  and to css manifest
25
-
33
+
26
34
  *= require slick
27
-
35
+ *= require slick-theme
36
+
37
+ slick-theme is only relevant to 1.4.0 and up
38
+
28
39
  Note: This plugin has custom fonts for dots and arrows and such. These are provided in /fonts (from the original repo) and are referred in the css.
29
-
40
+
30
41
  If you want them make sure the asset pipeline will handle them with something like
31
-
42
+
32
43
  config.assets.precompile += %w( .js .css *.css.scss .svg .eot .woff .ttf)
33
-
44
+
34
45
  if you don't want them - ignore what I just wrote, and overwrite
35
46
  .slick-prev:before
36
47
  .slick-next:before
37
- .slick-dots li a:before
48
+ .slick-dots li a:before
38
49
 
39
50
 
40
51