Skip to content

Commit

Permalink
Release 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Dec 23, 2018
2 parents ece816b + cefb25f commit 2df422c
Show file tree
Hide file tree
Showing 23 changed files with 1,534 additions and 1,229 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
/.idea
/*.iml
/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
5 changes: 2 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ module.exports = function(grunt) {
'src/js/components/*.js',
'src/js/buttons/PSVNavBarButton.js',
'src/js/buttons/*.js',
'src/js/*.js',
'src/js/lib/*.js'
'src/js/*.js'
]);

grunt.initConfig({
Expand Down Expand Up @@ -155,7 +154,7 @@ module.exports = function(grunt) {
config: '.jscsrc'
},
lib: {
src: ['src/js/**/*.js', '!src/js/lib/requestAnimationFrame.js']
src: ['src/js/**/*.js']
},
grunt: {
src: ['Gruntfile.js']
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,17 @@ Forked from [JeremyHeleine/Photo-Sphere-Viewer](https://github.com/JeremyHeleine
[photo-sphere-viewer.js.org](https://photo-sphere-viewer.js.org)

## Dependencies

### Required
* [three.js](https://threejs.org)
* [doT.js](https://olado.github.io/doT)
* [uEvent](https://github.com/mistic100/uEvent)
* [D.js](https://malko.github.io/D.js)

### Optionals
* [promise-polyfill](https://github.com/taylorhakes/promise-polyfill) for IE compatibility
* [three/CanvasRendered.js](https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/CanvasRenderer.js) & [three/Projector.js](https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/Projector.js) for browsers without WebGL
* [three/DeviceOrientationControls.js](https://github.com/mrdoob/three.js/blob/master/examples/js/controls/DeviceOrientationControls.js) for gyroscope support
* [three/StereoEffect.js](https://github.com/mrdoob/three.js/blob/master/examples/js/effects/StereoEffect.js) for VR support

## Install

Expand Down
1 change: 0 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
],
"dependencies": {
"three.js": ">= 0.85.0",
"D.js": "~0.7.3",
"uevent": "~1.0.0",
"doT": ">=1.0.3"
},
Expand Down
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>'
);
}());
2 changes: 1 addition & 1 deletion dist/photo-sphere-viewer.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Photo Sphere Viewer 3.4.1
* Photo Sphere Viewer 3.5.0
* Copyright (c) 2014-2015 Jérémy Heleine
* Copyright (c) 2015-2018 Damien "Mistic" Sorel
* Licensed under MIT (https://opensource.org/licenses/MIT)
Expand Down
Loading

0 comments on commit 2df422c

Please sign in to comment.