coffeebox 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca3d45f824a566acd2ada6d0ef108b748b422f4b
4
- data.tar.gz: f56a71fd4530ab090f97f7b3770229f0e6d2726b
3
+ metadata.gz: 277ee79246bac5e7fcb5db343385162ab0ad475a
4
+ data.tar.gz: 6bd6d4db317c2572076b4b34ae47023756761aea
5
5
  SHA512:
6
- metadata.gz: 6fca4d390b500b182ffa142ce219adcc73e59e4f2a8ac1da6b2f63d3c599837145df7d3a5924aa9bf8667711423aa0293b68611bcd5360530692130fff7e0e2e
7
- data.tar.gz: fc7d6e865475325442257bf5ce389a4808182d3178aaa8cebd2c567670ef0de6b643432b063e2ae6d50a200173634c7dfdffdda2db750d3f94d757d2ed2e0707
6
+ metadata.gz: 13904bc05db9eeba3d0dc2bae39433c1d44e112973466b10866d9924cfbb25a8437519ded9232afcb8b97c97bcd3e5f20e8357c808bb7ad872917bb9092e900e
7
+ data.tar.gz: 2e9fe21e21c69742dea596f6716664c035e4b0c01a21ee694952b9691fad59b7b64db8dc3a5e9ea533759d4923b22f491d4f71d3b32c1194f1835926c19334b4
data/README.md CHANGED
@@ -13,7 +13,7 @@ This is an opinionated rewrite of [Facebox](http://defunkt.github.com/facebox/).
13
13
  7. Proper show/hide of overlay (no blinking when loading -> loaded)
14
14
  8. Configurable SASS styling
15
15
 
16
- ## List of removed Facebox features:
16
+ #### List of removed Facebox features:
17
17
 
18
18
  1. Overlay opacity setting - please use CSS instead
19
19
 
@@ -60,6 +60,8 @@ or import SASS file directly (from sass\scss only)
60
60
 
61
61
  ## Usage
62
62
 
63
+ ```$.cbox``` is just a shorter alias for ```$.coffebox```
64
+
63
65
  Simple:
64
66
 
65
67
  $ ->
@@ -69,8 +71,8 @@ Simple:
69
71
 
70
72
  Advanced:
71
73
 
72
- $.coffeebox('test <b>html</b>')
73
- $.coffeebox(image: 'http://...')
74
+ $.cbox('test <b>html</b>')
75
+ $.cbox(image: 'http://...')
74
76
  $.cbox.loading()
75
77
  $.cbox.close()
76
78
 
@@ -105,7 +105,7 @@ $.fn.coffeebox = (settings) ->
105
105
  klass = klass[1] if klass
106
106
  fillcoffeeboxFromHref @href, klass
107
107
  false
108
- return init(settings) if $(this).length is 0
108
+ return init(settings) if $(this).length is 0
109
109
  @bind "click.coffeebox", clickHandler
110
110
 
111
111
  # Private methods
data/lib/coffeebox.rb CHANGED
@@ -1,4 +1,3 @@
1
- p 'st'
2
1
  require "coffeebox/version"
3
2
  require 'coffeebox/engine'
4
3
 
@@ -1,4 +1,3 @@
1
- p 'eng'
2
1
  module Coffeebox
3
2
  class Engine < ::Rails::Engine
4
3
  end
@@ -1,3 +1,3 @@
1
1
  module Coffeebox
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coffeebox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv