showoff 0.14.0 → 0.14.1

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: 0a62e1cad01e674aaa210d8ec7130949db0965fb
4
- data.tar.gz: 88a4bb776f6c82aa0ddc05efc73dc1379567bafb
3
+ metadata.gz: adcfd9d5011c040a280a60fd5087b939583949ce
4
+ data.tar.gz: 2b912728780a73bfc3c290ce0f8571f019b48da8
5
5
  SHA512:
6
- metadata.gz: 7926f32b1b0c317bbd74355901e5cbe0ad9c8f827b1fb9401c13554ce5e90c2f73193ac83c87b42dfcfdc956a4968561389cc85c08ba55a25a2c869c720f63a0
7
- data.tar.gz: 4accf69a75e69ce437ab85c81f6a1ca07ef22731f8d49ae2a434e3855b11297743d72aea711a3e90c54cfa26e8b122164b35c617e42068cfab51faf8c3f8a302
6
+ metadata.gz: 5343aac662c6221e1b3658dd4a47437a1ae4a3b372e35e2dd9915f5e61feaad45669dc4155e303947090cfdb3040a18e246eb186fb054117f924328d4e7a481b
7
+ data.tar.gz: bc0ae7e4ad3ce12dcb3f511512bcbb5be2fc59e0fe7241baba52b3c21cdb68ece6d50355a82c0e3c740cff9b2a027659d1adc1b2781911427680997441d46854
@@ -1,3 +1,3 @@
1
1
  # No namespace here since ShowOff is a class and I'd have to inherit from
2
2
  # Sinatra::Application (which we don't want to load here)
3
- SHOWOFF_VERSION = '0.14.0'
3
+ SHOWOFF_VERSION = '0.14.1'
@@ -278,7 +278,9 @@ function openNotes()
278
278
  if (mode.notes) {
279
279
  try {
280
280
  if(notesWindow == null || typeof(notesWindow) == 'undefined' || notesWindow.closed){
281
- notesWindow = window.open('', '', 'width=350,height=450');
281
+ // yes, the explicit address is needed. Because Chrome.
282
+ notesWindow = window.open('about:blank', '', 'width=350,height=450');
283
+ notesWindow.document.title = "Showoff Notes";
282
284
  postSlide();
283
285
  }
284
286
  $('#notesWindow').addClass('enabled');
data/public/js/showoff.js CHANGED
@@ -171,7 +171,7 @@ function initializePresentation(prefix) {
171
171
  $("#preso").trigger("showoff:loaded");
172
172
  }
173
173
 
174
- function zoom(presenter=false) {
174
+ function zoom(presenter) {
175
175
  var preso = $("#preso");
176
176
  var hSlide = parseFloat(preso.height());
177
177
  var wSlide = parseFloat(preso.width());
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-25 00:00:00.000000000 Z
11
+ date: 2016-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra