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 @@