Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

docs: Fix a few typos #364

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Panolens.js is an event-driven and WebGL based panorama viewer. Lightweight and

Include `three.min.js` and `panolens.min.js`

To find the correct supported versions, please check `dependencies` section in `package.json` or acess `PANOLENS.VERSION` or `PANOLENS.THREE_VERSION` at runtime.
To find the correct supported versions, please check `dependencies` section in `package.json` or access `PANOLENS.VERSION` or `PANOLENS.THREE_VERSION` at runtime.

```html
<script src="js/three.min.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/viewer/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ Viewer.prototype = Object.assign( Object.create( THREE.EventDispatcher.prototype

if ( pano.type === 'panorama' && leavingPanorama !== pano ) {

// Clear exisiting infospot
// Clear existing infospot
this.hideInfospot();

const afterEnterComplete = function () {
Expand Down Expand Up @@ -900,7 +900,7 @@ Viewer.prototype = Object.assign( Object.create( THREE.EventDispatcher.prototype
* Get container
* @memberOf Viewer
* @instance
* @return {HTMLElement} - The container holds rendererd canvas
* @return {HTMLElement} - The container holds rendered canvas
*/
getContainer: function () {

Expand Down
2 changes: 1 addition & 1 deletion src/widget/Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ Widget.prototype = Object.assign( Object.create( THREE.EventDispatcher.prototype

} );

// Add fullscreen stlye if not exists
// Add fullscreen style if not exists
if ( !document.querySelector( stylesheetId ) ) {
const sheet = document.createElement( 'style' );
sheet.id = stylesheetId;
Expand Down