Skip to content
Browse files

optimized builds

  • Loading branch information...
1 parent 4175e9e commit e2a537d659a7054c8cefa425ed5e559d22240756 @stephan83 stephan83 committed Apr 19, 2012
View
2 app/app.desktop.optimized.js
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 app/app.phone.optimized.js
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 app/app.tablet.optimized.js
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 app/app.tv.optimized.js
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.
View
30 app/index.desktop.optimized.html
@@ -159,6 +159,19 @@
</li>
</script>
+ <script type="text/template" id="template-sound-item">
+ <li class="sound-item">
+ <div>
+ <a href="#<%= section.slug %>/<%= offset %>">
+ <div>
+ <% if(item.author && item.author.name) { %><h3><%= item.author.name %></h3><% } %>
+ <h4><%= item.name %></h4>
+ </div>
+ </a>
+ </div>
+ </li>
+ </script>
+
<script type="text/template" id="template-status">
<div>
<div class="header">
@@ -215,7 +228,22 @@
</div>
</script>
- <script>Joshfire.debug=true;</script>
+ <script type="text/template" id="template-sound">
+ <div>
+ <% if (item.uploadDate || item.datePublished || item.dateCreated) { %>
+ <h3><%= moment(toDate(item.uploadDate || item.datePublished || item.dateCreated)).format('LLLL') %></h3>
+ <% } %>
+ <h4><%= item.name %><% if(item.author && item.author.name) { %> by <%= item.author.name %><% } %></h4>
+ <% if(item.thumbnail && item.thumbnail.length) { %>
+ <img src="<%= item.thumbnail[0].contentURL %>" />
+ <% } %>
+ <div class="media"><%= media %></div>
+ <% if(item.description) { %>
+ <p><%= item.description %></p>
+ <% } %>
+ </div>
+ </script>
+
<script src="app.desktop.optimized.js"></script>
<script type="text/javascript">
// if app icon, set "apple-touch-icon-precomposed" for webapps installed on mobile
View
39 app/index.phone.optimized.html
@@ -28,7 +28,7 @@
<script type="text/javascript" src="todate.js"></script>
<script type="text/javascript" src="vendor/moment.js"></script>
<script type="text/javascript" src="prettystatus.js"></script>
- <script data-joshfire-bootstrap src="http://preview-staging.joshfireapps.com/bootstrap/4f845035744218010000007b/4f86a9a646aa430100000454/phone/"></script>
+ <script data-joshfire-bootstrap src="http://preview-staging.joshfireapps.com/bootstrap/4f845035744218010000007b/4f8840bf6e08390100000712/phone/"></script>
</head>
<body class="device-phone" ontouchmove="event.preventDefault()">
@@ -145,6 +145,19 @@
</li>
</script>
+ <script type="text/template" id="template-sound-item">
+ <li class="sound-item">
+ <div>
+ <a href="#<%= section.slug %>/<%= offset %>">
+ <div>
+ <% if(item.author && item.author.name) { %><h3><%= item.author.name %></h3><% } %>
+ <h4><%= item.name %></h4>
+ </div>
+ </a>
+ </div>
+ </li>
+ </script>
+
<script type="text/template" id="template-status">
<div>
<div class="header">
@@ -178,7 +191,9 @@
<script type="text/template" id="template-video">
<div>
- <%= media %>
+ <div class="media">
+ <%= media %>
+ </div>
<div class="body">
<% if (item.uploadDate || item.datePublished || item.dateCreated) { %>
<h3><%= moment(toDate(item.uploadDate || item.datePublished || item.dateCreated)).format('LLLL') %></h3>
@@ -213,7 +228,24 @@
<p class="map-overlay"><%= address %></p>
</script>
- <script>Joshfire.debug=true;</script>
+ <script type="text/template" id="template-sound">
+ <div>
+ <div class="body">
+ <% if (item.uploadDate || item.datePublished || item.dateCreated) { %>
+ <h3><%= moment(toDate(item.uploadDate || item.datePublished || item.dateCreated)).format('LLLL') %></h3>
+ <% } %>
+ <h4><%= item.name %><% if(item.author && item.author.name) { %> by <%= item.author.name %><% } %></h4>
+ <% if(item.thumbnail && item.thumbnail.length) { %>
+ <img src="<%= item.thumbnail[0].contentURL %>" />
+ <% } %>
+ <div class="media"><%= media %></div>
+ <% if(item.description) { %>
+ <p><%= item.description %></p>
+ <% } %>
+ </div>
+ </div>
+ </script>
+
<script src="app.phone.optimized.js"></script>
<script type="text/javascript">
// if app icon, set "apple-touch-icon-precomposed" for webapps installed on mobile
@@ -224,4 +256,3 @@
</script>
</body>
</html>
-</html>
View
32 app/index.tablet.optimized.html
@@ -28,7 +28,7 @@
<script type="text/javascript" src="todate.js"></script>
<script type="text/javascript" src="vendor/moment.js"></script>
<script type="text/javascript" src="prettystatus.js"></script>
- <script data-joshfire-bootstrap src="http://preview-staging.joshfireapps.com/bootstrap/4f845035744218010000007b/4f7ae9f3db94b201000000e2/phone/"></script>
+ <script data-joshfire-bootstrap src="http://preview-staging.joshfireapps.com/bootstrap/4f845035744218010000007b/4f8840bf6e08390100000712/tablet/"></script>
</head>
<body class="device-phone" ontouchmove="event.preventDefault()">
@@ -155,6 +155,19 @@
</li>
</script>
+ <script type="text/template" id="template-sound-item">
+ <li class="sound-item">
+ <div>
+ <a href="#<%= section.slug %>/<%= offset %>">
+ <div>
+ <% if(item.author && item.author.name) { %><h3><%= item.author.name %></h3><% } %>
+ <h4><%= item.name %></h4>
+ </div>
+ </a>
+ </div>
+ </li>
+ </script>
+
<script type="text/template" id="template-status">
<div>
<div class="header">
@@ -211,7 +224,22 @@
</div>
</script>
- <script>Joshfire.debug=true;</script>
+ <script type="text/template" id="template-sound">
+ <div>
+ <% if (item.uploadDate || item.datePublished || item.dateCreated) { %>
+ <h3><%= moment(toDate(item.uploadDate || item.datePublished || item.dateCreated)).format('LLLL') %></h3>
+ <% } %>
+ <h4><%= item.name %><% if(item.author && item.author.name) { %> by <%= item.author.name %><% } %></h4>
+ <% if(item.thumbnail && item.thumbnail.length) { %>
+ <img src="<%= item.thumbnail[0].contentURL %>" />
+ <% } %>
+ <div class="media"><%= media %></div>
+ <% if(item.description) { %>
+ <p><%= item.description %></p>
+ <% } %>
+ </div>
+ </script>
+
<script src="app.tablet.optimized.js"></script>
<script type="text/javascript">
// if app icon, set "apple-touch-icon-precomposed" for webapps installed on mobile
View
38 app/index.tv.optimized.html
@@ -175,6 +175,19 @@
</li>
</script>
+ <script type="text/template" id="template-sound-item">
+ <li class="sound-item">
+ <div>
+ <a href="#<%= section.slug %>/<%= offset %>">
+ <div>
+ <% if(item.author && item.author.name) { %><h3><%= item.author.name %></h3><% } %>
+ <h4><%= item.name %></h4>
+ </div>
+ </a>
+ </div>
+ </li>
+ </script>
+
<script type="text/template" id="template-photo">
<div class="image" style="background-image: url(<%= imageUrl %>)"></div>
<div class="spinner"></div>
@@ -240,18 +253,27 @@
</div>
</script>
- <script type="text/template" id="template-contact">
- <div><%= textContent %></div>
- </script>
+ <script type="text/template" id="template-sound">
+ <div>
+ <div class="head">
+ <div class="image" style="background-image: url(<%= item.thumbnail[0].contentURL %>)"></div>
+ <div class="title"><p><%= item.name %><% if(item.author && item.author.name) { %> by <%= item.author.name %><% } %></p></div>
+ </div>
- <script type="text/template" id="template-map">
- <div class="map"></div>
- </script>
+ <div class="body">
+ <% if (item.uploadDate || item.datePublished || item.dateCreated) { %>
+ <h4><%= moment(toDate(item.uploadDate || item.datePublished || item.dateCreated)).format('LLLL') %></h4>
+ <% } %>
- <script type="text/template" id="template-map-overlay">
- <p class="map-overlay"><%= address %></p>
+ <div class="media"><%= media %></div>
+ <% if(item.description) { %>
+ <p><%= item.description %></p>
+ <% } %>
+ </div>
+ </div>
</script>
<script src="app.tv.optimized.js"></script>
</body>
</html>
+

0 comments on commit e2a537d

Please sign in to comment.
Something went wrong with that request. Please try again.