swipebox 0.0.3 → 0.0.4

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: 6703d00aaf36c88de54423f9e6fed556d3b3adb8
4
- data.tar.gz: 21a54f980a3e3a25667c3f7343b13ac48416decf
3
+ metadata.gz: a40cf8d2e0656fda1c66bda50290419f554361d2
4
+ data.tar.gz: 1cc58da2a4ba5cdcb6e6bcb7569f195d7f5d53b2
5
5
  SHA512:
6
- metadata.gz: 3c3d0b748aba10eee72a50dd9fe7e4a01e653cc7c586242f566f7b7d9181860e3030732eac6ea80ffcbd4f11f3343c4ff8f9db43e6485cae32b00d00d5a4a5c3
7
- data.tar.gz: e445be527c5f7f59041fdcf6c46cfd62271ab83137c0be91dc29981a382a8a47ed9d68ca8612d94291211626ef6017649f397a5d1a6cd39d6e24d64c63cabff6
6
+ metadata.gz: 66f0f20dffcbdb99de5cc48949ca9a4be822516540bad6dc693b47ce1875909457c17270df4b506b862001a2b71743c644b609fe7985ff908556938ff4d3cc06
7
+ data.tar.gz: c3ef472095843b751aede90369911706e14884f3b7d76362982537424848f1b458beeaf14b54d9a0541d753e2cdfed1e214fd894888d8f90ef2e82fd27dda010
@@ -1,3 +1,3 @@
1
1
  module Swipebox
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -21,7 +21,8 @@
21
21
  videoMaxWidth : 1140,
22
22
  vimeoColor : 'CCCCCC',
23
23
  beforeOpen: null,
24
- afterClose: null
24
+ afterClose: null,
25
+ showCount: false
25
26
  },
26
27
 
27
28
  plugin = this,
@@ -424,7 +425,9 @@
424
425
  $('#swipebox-next').addClass('disabled');
425
426
  }
426
427
 
427
- $('#swipebox-count').text((index+1) + '/' + elements.length)
428
+ if (plugin.settings.showCount) {
429
+ $('#swipebox-count').text((index+1) + '/' + elements.length)
430
+ };
428
431
  },
429
432
 
430
433
  openSlide : function (index){
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swipebox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miha Rekar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-20 00:00:00.000000000 Z
11
+ date: 2013-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails