From cefb25f131dcaf731b3caadd4b89a31d93676fd5 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sun, 23 Dec 2018 17:07:52 +0100 Subject: [PATCH] Remove CanvasRenderer from examples --- .gitignore | 2 ++ .npmignore | 1 + build/jsdoc.js | 33 ++++++++++++++++++++++++--------- example/cubemap.html | 3 --- example/equirectangular.html | 3 --- package.json | 2 +- 6 files changed, 28 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 2cc4dbf74..de9f23242 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ /*.iml /dist /doc +/package-lock.json +/yarn.lock diff --git a/.npmignore b/.npmignore index 3e655c136..959e56cdc 100644 --- a/.npmignore +++ b/.npmignore @@ -5,3 +5,4 @@ example bower_components Gruntfile.js bower.json +yarn.lock diff --git a/build/jsdoc.js b/build/jsdoc.js index 9ba88d041..a9a59776c 100644 --- a/build/jsdoc.js +++ b/build/jsdoc.js @@ -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( + '' + ); }()); diff --git a/example/cubemap.html b/example/cubemap.html index d49c8e2c8..c6251c7e6 100644 --- a/example/cubemap.html +++ b/example/cubemap.html @@ -36,8 +36,6 @@ - - @@ -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', diff --git a/example/equirectangular.html b/example/equirectangular.html index dac5d96ee..982305495 100644 --- a/example/equirectangular.html +++ b/example/equirectangular.html @@ -46,8 +46,6 @@ - - @@ -139,7 +137,6 @@

Header Level 3

time_anim: false, // touchmove_two_fingers: true, // mousemove_hover: true, -// webgl: false, navbar: [ 'autorotate', 'zoom', 'download', 'markers', { diff --git a/package.json b/package.json index c22b1e85c..f47ad2fb7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "photo-sphere-viewer", - "version": "3.4.0-SNAPSHOT", + "version": "3.5.0-SNAPSHOT", "authors": [ { "name": "Jérémy Heleine",