Skip to content

Commit

Permalink
Merge pull request #49 from eriksjaastad/mixed-content-error
Browse files Browse the repository at this point in the history
Mixed content error
  • Loading branch information
eriksjaastad committed Aug 14, 2015
2 parents 797f3c1 + e8307d3 commit 8deaa79
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h2>Visual Data Surrounding You</h2>
</main>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
<script src="markerclusterer.min.js"></script>
<script src="markerclusterer.js"></script>
<script src="jquery.ui.map.js"></script>
<script src="js/bundle.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h2>Visual Data Surrounding You</h2>
</main>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
<script src="markerclusterer.min.js"></script>
<script src="markerclusterer.js"></script>
<script src="jquery.ui.map.js"></script>
<script src="js/bundle.js"></script>
</body>
Expand Down
8 changes: 4 additions & 4 deletions public/js/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -29580,7 +29580,7 @@
//construct new tweet date
var tweetDate = document.createElement('p');
tweetDate.setAttribute('class', 'icon-twitter');
tweetDate.textContent = ' on ' + formatMonth(curTime.getMonth()) + formatDay(curTime.getDay()) + ', ' + curTime.getFullYear() + ' at ' + formatTime(curTime.getHours(), curTime.getMinutes());
tweetDate.textContent = ' on ' + formatMonth(curTime.getMonth()) + formatDay(curTime.getDate()) + ', ' + curTime.getFullYear() + ' at ' + formatTime(curTime.getHours(), curTime.getMinutes());

//build & append tweet
newListContent.appendChild(tweetText);
Expand Down Expand Up @@ -29619,9 +29619,9 @@
}
}

function formatDay(day) {
day = day < 10 ? '0' + day : day;
return day;
function formatDay(date) {
date = date < 10 ? '0' + date : date;
return date;
}

function formatTime(currentHour, currentMinute) {
Expand Down
4 changes: 3 additions & 1 deletion public/markerclusterer.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,12 @@ function MarkerClusterer(map, opt_markers, opt_options) {
* @private
*/
MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_ =
'http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/' +
'//google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/' +
'images/m';




/**
* The marker cluster image path.
*
Expand Down

0 comments on commit 8deaa79

Please sign in to comment.