server-generated-popups 1.4.7 → 1.4.8

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: b0fa18b47422da4617ef30b47b66fc8fa79b953e
4
- data.tar.gz: 43577dfed727446d327a991a8bc75abc04605833
3
+ metadata.gz: f2a51a0c882bfd577cda398cbadeeec6ac4d2943
4
+ data.tar.gz: 9e97f18d4608439109f9436ddabc837328e91a01
5
5
  SHA512:
6
- metadata.gz: f73b47e1bcc2553f82125a607a8be71179b7c7ef3efbb00478d38264597ec090383f54b0f4a0c4c7d766bc3f08e0a7431ec79834e77b9f67b9f25e83dc794b84
7
- data.tar.gz: 6804aba78663d4a7f4e7c5d793d28c923e53233b051ca06b0ab9d4b9cf21326b655e5a5e3b30f193808c8bde20f3d16fd0b037b1a31cbe487329b970533c1c26
6
+ metadata.gz: 3e5f60047ae057d76c63739562902be3716a025efcf0617508cd75f35606cff9e0690868b8c38bea098c0ba17b900841dbcc189e94553e804b3a2474119a170d
7
+ data.tar.gz: a17e65a4c5e67932cf59315013cd996fcc767faa95cf2347f673d09dbbf15ba4856fdbd4760c80d776578554e523c29c517c271ac9affc2c0c78fe4aa19c0b78
@@ -62,7 +62,7 @@
62
62
  if (start)
63
63
  this.popupWindow.classList.add(start)
64
64
 
65
- popupWindow = this.popupWindow
65
+ var popupWindow = this.popupWindow
66
66
  setTimeout( // wait for CSS to notice `start` class
67
67
  function () { // trigger the CSS animation
68
68
  if (isNaN(finish)) {
@@ -133,7 +133,7 @@
133
133
  // Slides the popup out of the screen.
134
134
  // Accepts no options.
135
135
  PopupClass.prototype.hide = function (direction) {
136
- popupWindow = this.popupWindow
136
+ var popupWindow = this.popupWindow
137
137
 
138
138
  finish = direction == 'up' ? 'above-screen' : 'below-screen'
139
139
  this.translate(null, finish, function () {
data/demo/index.html CHANGED
@@ -10,9 +10,7 @@
10
10
  $(document).ready(function () {
11
11
  Popup("<h2>Hello</h2><p>Did you notice that close button in the top-right corner? It comes with the lib too.</p>", {padding: '30px'}).show('up', function (popup) { popup.style.opacity = 0.6; })
12
12
 
13
- setTimeout(function () {
14
13
  Popup("<p>Popup</p>").show('up')
15
- }, 200)
16
14
  });
17
15
  </script>
18
16
  <body>
@@ -12,6 +12,6 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = "server-generated-popups"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = "1.4.7"
15
+ gem.version = "1.4.8"
16
16
  gem.license = 'MIT'
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server-generated-popups
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Khamets