Skip to content

Commit

Permalink
Remove CanvasRenderer from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Dec 23, 2018
1 parent 8d9bc40 commit cefb25f
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
/*.iml
/dist
/doc
/package-lock.json
/yarn.lock
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ example
bower_components
Gruntfile.js
bower.json
yarn.lock
33 changes: 24 additions & 9 deletions build/jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
(function() {
var header = $('.page-header');
var pattern = Trianglify({
width: window.screen.width | header.outerWidth(),
height: header.outerHeight(),
cell_size: 90,
seed: 'Photo Sphere Viewer',
x_colors: ['#09B4E9', '#15884C']
});
// trianglify
var header = $('.page-header');
var pattern = Trianglify({
width : window.screen.width | header.outerWidth(),
height : header.outerHeight(),
cell_size: 90,
seed : 'Photo Sphere Viewer',
x_colors : ['#09B4E9', '#15884C']
});

header.css('background-image', 'url(' + pattern.png() + ')');
header.css('background-image', 'url(' + pattern.png() + ')');

// version
var navbarNav = $('#topNavigation');
navbarNav.append(
'<ul class="nav navbar-nav" style="float:right">' +
' <li class="dropdown">' +
' <a href="#" class="dropdown-toggle" data-toggle="dropdown">v3<b class="caret"></b></a>' +
' <ul class="dropdown-menu">' +
' <li><a href="."><span class="glyphicon glyphicon-ok"></span> Latest (v3)</a></li>' +
' <li><a href="../v4/api">Next (v4)</a></li>' +
' </ul>' +
' </li>' +
'</ul>'
);
}());
3 changes: 0 additions & 3 deletions example/cubemap.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
<script src="../node_modules/uevent/uevent.js"></script>
<script src="../node_modules/dot/doT.js"></script>
<script src="../node_modules/nosleep.js/dist/NoSleep.js"></script>
<script src="../node_modules/three/examples/js/renderers/CanvasRenderer.js"></script>
<script src="../node_modules/three/examples/js/renderers/Projector.js"></script>
<script src="../node_modules/three/examples/js/controls/DeviceOrientationControls.js"></script>
<script src="../node_modules/three/examples/js/effects/StereoEffect.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
Expand Down Expand Up @@ -73,7 +71,6 @@
panorama: panos[0].url,
caption: panos[0].desc,
//fisheye: true,
//webgl: false,
time_anim: false,
default_long: Math.PI / 2,
loading_img: 'assets/photosphere-logo.gif',
Expand Down
3 changes: 0 additions & 3 deletions example/equirectangular.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
<script src="../node_modules/uevent/uevent.js"></script>
<script src="../node_modules/dot/doT.js"></script>
<script src="../node_modules/nosleep.js/dist/NoSleep.js"></script>
<script src="../node_modules/three/examples/js/renderers/CanvasRenderer.js"></script>
<script src="../node_modules/three/examples/js/renderers/Projector.js"></script>
<script src="../node_modules/three/examples/js/controls/DeviceOrientationControls.js"></script>
<script src="../node_modules/three/examples/js/effects/StereoEffect.js"></script>
<script src="../dist/photo-sphere-viewer.js"></script>
Expand Down Expand Up @@ -139,7 +137,6 @@ <h3>Header Level 3</h3>
time_anim: false,
// touchmove_two_fingers: true,
// mousemove_hover: true,
// webgl: false,
navbar: [
'autorotate', 'zoom', 'download', 'markers',
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "photo-sphere-viewer",
"version": "3.4.0-SNAPSHOT",
"version": "3.5.0-SNAPSHOT",
"authors": [
{
"name": "Jérémy Heleine",
Expand Down

0 comments on commit cefb25f

Please sign in to comment.