sports_db 0.2 → 0.2.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.
- data/app/assets/javascripts/clients/android/client.js +1 -1
- data/app/assets/javascripts/core/utilities.js +92 -0
- data/app/assets/javascripts/libs/ICanHaz.js +542 -0
- data/app/assets/javascripts/plugins/flash.js +9 -5
- data/app/assets/javascripts/plugins/loading.js +37 -36
- data/app/assets/javascripts/plugins/resizeable.js +1 -1
- data/app/assets/javascripts/plugins/zepto.freeze.js +24 -0
- data/app/assets/stylesheets/_base.css.scss +31 -5
- data/app/assets/stylesheets/_flash.css.scss +15 -3
- data/app/assets/stylesheets/_loading.css.scss +10 -18
- data/app/assets/stylesheets/_play.css.scss +3 -2
- data/app/assets/stylesheets/mock.css.scss +2 -4
- data/app/views/application/load.html.erb +3 -1
- data/app/views/shared/_heading.html.erb +20 -0
- data/app/views/shared/_poster.html.erb +11 -0
- data/app/views/shared/_sharing.html.erb +16 -0
- data/app/views/shared/_toolbar.html.erb +12 -0
- data/lib/sports_db/engine.rb +13 -1
- data/lib/sports_db/version.rb +1 -1
- metadata +8 -7
- data/app/assets/javascripts/core/Application.js +0 -173
- data/app/assets/javascripts/core/BaseView.js +0 -117
- data/app/assets/javascripts/core/View.js +0 -56
- data/app/assets/javascripts/libs/zepto_0.8.js +0 -1213
- data/app/views/layouts/application.html.erb +0 -28
@@ -1,28 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title><%= CONFIG.app_path.downcase %></title>
|
5
|
-
<meta id="meta_viewport" name="viewport" content="user-scalable=no, initial-scale=1">
|
6
|
-
<%= stylesheet_link_tag "application" %>
|
7
|
-
</head>
|
8
|
-
<body>
|
9
|
-
<%= yield %>
|
10
|
-
<loading id="loading" style="display:none"><loading_text id="loading_text">Loading…</loading_text></loading>
|
11
|
-
<div id="flash" style="display:none"></div>
|
12
|
-
<div id="buffer" style="display:none"></div>
|
13
|
-
<div id="tmp" style="display:none"></div>
|
14
|
-
<%= javascript_include_tag "application" %>
|
15
|
-
<%# Allows us to use mock on test or production without screwing up caching of page. %>
|
16
|
-
<script>
|
17
|
-
if (Application.params.mock) {
|
18
|
-
document.write("<link rel='stylesheet' href='/<%= CONFIG.app_path %>/assets/mock.css'>");
|
19
|
-
document.write("<script src='/<%= CONFIG.app_path %>/assets/core/Mock.js'><\/script>");
|
20
|
-
}
|
21
|
-
</script>
|
22
|
-
<%# turn on mock automatically if using localhost or pow %>
|
23
|
-
<% if request.host == 'localhost' || request.host.include?(".dev") %>
|
24
|
-
<link rel='stylesheet' href='/<%= CONFIG.app_path %>/assets/mock.css'>
|
25
|
-
<script src='/<%= CONFIG.app_path %>/assets/core/Mock.js'></script>
|
26
|
-
<% end %>
|
27
|
-
</body>
|
28
|
-
</html>
|