showoff 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/bin/showoff CHANGED
@@ -47,7 +47,6 @@ command :serve do |c|
47
47
  c.flag [:h,:host]
48
48
 
49
49
  c.action do |global_options,options,args|
50
- raise "fail. not a showoff directory" if !File.exists?(ShowOffUtils::SHOWOFF_JSON_FILE)
51
50
  ShowOff.run! :host => options[:h], :port => options[:p].to_i
52
51
  end
53
52
  end
data/public/js/showoff.js CHANGED
@@ -177,7 +177,6 @@ function showSlide(back_step) {
177
177
  bind('swipeleft', swipeLeft).
178
178
  bind('swiperight', swipeRight)
179
179
  removeResults()
180
- ShowOff.Client.sendToClients(slidenum)
181
180
  }
182
181
 
183
182
  function getSlidePercent()
@@ -221,7 +220,6 @@ function nextStep()
221
220
  incrElem.eq(incrCurr).show()
222
221
  }
223
222
  incrCurr++
224
- ShowOff.Client.sendToClients('next')
225
223
  }
226
224
  }
227
225
 
data/views/index.erb CHANGED
@@ -16,19 +16,13 @@
16
16
 
17
17
  <script type="text/javascript" src="<%= @asset_path %>/js/jquery.doubletap-0.1.js"></script>
18
18
 
19
- <script type="text/javascript" src="<%= @asset_path %>/js/jquery.uuid.js"></script>
20
- <script type="text/javascript" src="<%= @asset_path %>/js/jquery.cookie.js"></script>
21
- <script type="text/javascript" src="<%= @asset_path %>/js/jquery.ws-0.3pre.js"></script>
22
-
23
- <script type="text/javascript" src="<%= @asset_path %>/js/fg.menu.js"></script>
19
+ <script type="text/javascript" src="<%= @asset_path %>/js/fg.menu.js"></script>
24
20
  <script type="text/javascript" src="<%= @asset_path %>/js/showoff.js"></script>
25
21
  <script type="text/javascript" src="<%= @asset_path %>/js/jTypeWriter.js"> </script>
26
22
  <script type="text/javascript" src="<%= @asset_path %>/js/sh_main.min.js"></script>
27
23
 
28
- <!--script type="text/javascript" src="<%= @asset_path %>/js/showoff.client.js"></script-->
29
-
30
- <link type="text/css" href="<%= @asset_path %>/css/fg.menu.css" media="screen" rel="stylesheet" />
31
- <link type="text/css" href="<%= @asset_path %>/css/theme/ui.all.css" media="screen" rel="stylesheet" />
24
+ <link type="text/css" href="<%= @asset_path %>/css/fg.menu.css" media="screen" rel="stylesheet" />
25
+ <link type="text/css" href="<%= @asset_path %>/css/theme/ui.all.css" media="screen" rel="stylesheet" />
32
26
  <link type="text/css" href="<%= @asset_path %>/css/sh_style.css" rel="stylesheet" >
33
27
 
34
28
  <% css_files.each do |css_file| %>
@@ -42,17 +36,14 @@
42
36
  <script type="text/javascript">
43
37
  $(function(){
44
38
  setupPreso(<%= @slides.nil? ? "true" : "false"%>, '<%= @asset_path %>');
45
- // experimental showoff web socket support
46
- // ShowOff.Client.create().
47
- // watchPresentation('localhost', 3840, 'abc')
48
39
  });
49
40
  </script>
50
41
  </head>
51
42
 
52
43
  <body>
53
-
54
44
 
55
- <a tabindex="0" href="#search-engines" class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all" id="navmenu"><span class="ui-icon ui-icon-triangle-1-s"></span>slides</a>
45
+
46
+ <a tabindex="0" href="#search-engines" class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all" id="navmenu"><span class="ui-icon ui-icon-triangle-1-s"></span>slides</a>
56
47
  <div id="navigation" class="hidden"></div>
57
48
 
58
49
  <div id="help">
@@ -75,7 +66,7 @@
75
66
  </div>
76
67
 
77
68
  <div id="slides" class="offscreen" <%= 'style="display:none;"' if @slides %>>
78
- <%= @slides %>
69
+ <%= @slides %>
79
70
  </div>
80
71
 
81
72
  </body>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chacon