Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Revert #325

Open
wants to merge 214 commits into
base: 2.0-pre1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
ff7e418
Update documentation link in README.md
smd686s May 19, 2016
d0aa09b
Merge pull request #18 from smd686s/patch-1
borismus May 19, 2016
8f1a5c5
Delete CNAME
BenjaminGM Jun 21, 2016
571ae97
Merge pull request #24 from BenjaminGM/patch-1
borismus Jun 21, 2016
4b380c5
Prevent zero pixel ratio in renderer
Jul 27, 2016
501713e
changes as suggested by @borismus
Jul 28, 2016
cb79813
Merge pull request #36 from nyako/patchZeroCanvasDimension
borismus Jul 28, 2016
480eb48
ok
borismus Oct 31, 2016
de8305c
all paths are now relative to the embedding frame
borismus Oct 31, 2016
c0cdc03
all API paths relative to embed URL
borismus Oct 31, 2016
f7731cd
update builds
borismus Oct 31, 2016
bc5a92b
now using getVRDisplays instead of event
borismus Nov 1, 2016
201638d
fix empty hotspots
borismus Nov 1, 2016
f4ffd24
less logging, also fixed click w/o hotspots
borismus Nov 2, 2016
f2181a6
update build
borismus Nov 2, 2016
8c15b29
brought back touch panner
borismus Nov 7, 2016
d81db04
logging only in debug=true mode
borismus Nov 7, 2016
403144c
remove debug
borismus Nov 7, 2016
5fd45a2
builds
borismus Nov 7, 2016
5091835
version bump
borismus Nov 7, 2016
a242758
ie11 fix
borismus Nov 8, 2016
25dc310
build
borismus Nov 8, 2016
047f2dc
rebuild pages
borismus Nov 8, 2016
0b927f5
debug
borismus Nov 8, 2016
7cd95c9
update builds w/ fix for ie11
borismus Nov 8, 2016
fe5c23a
fix relative path issue in IE11
borismus Nov 8, 2016
7000b90
update builds
borismus Nov 8, 2016
06fce80
Merge branch 'gh-pages'
borismus Nov 12, 2016
38d5ee5
Update.
borismus Nov 12, 2016
9eed06b
handling messages with no type
borismus Dec 8, 2016
24bd778
attempting preload
borismus Dec 8, 2016
a7d1aa8
move to linearfilter
borismus Dec 8, 2016
8aa96f7
update builds
borismus Dec 8, 2016
f00fefa
updated polyfill
borismus Dec 8, 2016
5cac2f8
also sending timestamp
borismus Dec 8, 2016
58aa8f2
polyfill update
borismus Dec 9, 2016
f039446
update
borismus Dec 9, 2016
ff67199
update
borismus Dec 9, 2016
d9a6d98
update build
borismus Dec 9, 2016
8497a1f
update polyfill
borismus Dec 9, 2016
465ee9f
Moved device motion handling to polyfill
borismus Dec 9, 2016
bf46647
update builds
borismus Dec 9, 2016
aaaa7ff
version bump
borismus Dec 9, 2016
8ab9887
split params after "?"
Covertness Dec 13, 2016
276e435
fix black screen issue when playing HLS on Safari for iOS
Covertness Dec 20, 2016
fd97a33
only iOS need the colour inversion
Covertness Dec 21, 2016
6c3111f
Fix build trouble: added dev deps to devDependencies; added 'run' to …
lionello Dec 21, 2016
31ec5f9
Merge pull request #102 from enumatech/fix_build
borismus Dec 22, 2016
93e9d75
hls example
Covertness Dec 22, 2016
f4535a8
Merge branch 'master' into wuyingfengsui_master
Covertness Dec 22, 2016
b115aa5
video type
Covertness Dec 22, 2016
d172012
Use GitHub .gitignore template for Node.js
yvan-sraka Feb 25, 2017
0f23a1e
Fix mixed tabs and spaces in HTML files
yvan-sraka Feb 25, 2017
3c9488e
Let user define Player settings directly in WebVRConfig global
yvan-sraka Feb 25, 2017
67d2bc5
Implemented time events and methods to mimic HTML5; fixed issue when …
rafa8626 Mar 3, 2017
edceaae
roll three.js and webvr-polyfill deps
borismus Mar 15, 2017
ffbc9ff
rebuild three.js
borismus Mar 15, 2017
f87ae50
Fixed conflicts
rafa8626 Mar 20, 2017
b497795
fix pb with GPU
fix2015 Apr 3, 2017
26d412c
add func getposition, for get YAW, PITCH
fix2015 Apr 3, 2017
9c696ba
fix bug with GPU
fix2015 Apr 6, 2017
03a2c7c
Removes bug when using images with this change. Builded files not inc…
ArthurvS Apr 10, 2017
0284396
Merge branch '360Image_bugfix' of https://github.com/ArthurvS/vrview …
rafa8626 Apr 10, 2017
3fd3bf9
Merge branch 'ArthurvS-360Image_bugfix'
rafa8626 Apr 10, 2017
78868c1
Built files to reflect latest changed
rafa8626 Apr 10, 2017
35f8924
Revert "Removes bug when using images with this change. Builded files…
rafa8626 Apr 10, 2017
0a295c4
Fixed merge issues
rafa8626 Apr 17, 2017
80e7b34
hotspot are disappeared after we rebuild that file
fix2015 Apr 26, 2017
499dd63
Merge pull request #1 from fix2015/hotspotfixbug
fix2015 Apr 26, 2017
2978d0f
add getposition
fix2015 Apr 26, 2017
45fbac6
Addressed minor formatting issues and integrated argument `player` to…
rafa8626 Apr 29, 2017
284e708
Enabled play button once media ended
rafa8626 Apr 29, 2017
aabd448
Fixed typo with volume variable
rafa8626 Apr 29, 2017
748d16b
Fixed minor issue with encoding object as param
rafa8626 May 1, 2017
a1a7cd7
Fixed issues when using VRView with images only
rafa8626 May 1, 2017
9fd2f0a
Added fix to show hotspots properly
rafa8626 May 4, 2017
b5639b9
Addressed minor formatting issues
rafa8626 May 12, 2017
ead7d94
Merge pull request #128 from rafa8626/master
borismus May 12, 2017
666decd
Remove the build directory from source control.
lincolnfrog Jun 12, 2017
8c7eb92
Merge pull request #172 from googlevr/remove-build-dir
lincolnfrog Jun 14, 2017
609d5b9
Merge branch 'master' of git://github.com/wuyingfengsui/vrview into w…
lincolnfrog Jun 14, 2017
02c31ea
Merge pull request #176 from googlevr/wuyingfengsui-master
lincolnfrog Jun 14, 2017
9a16116
Update build folder so http://googlevr.github.io/vrview/ works
lincolnfrog Jun 14, 2017
b147321
Fixed structure of `timeupdate` event and typo on `volumechange` event
rafa8626 Jun 15, 2017
4ee907c
Syncs .gitignore latest version of 'github.com/github/gitignore/blob/…
niksumeiko Jun 15, 2017
40e4f39
Includes already existing ignores in .gitignore
niksumeiko Jun 15, 2017
c36bc60
Merge pull request #1 from niksumeiko/patch-0
yvan-sraka Jun 15, 2017
247112f
Fixed format
rafa8626 Jun 15, 2017
2e89449
Merge branch 'master' into patch-0
yvan-sraka Jun 15, 2017
a4dab70
Create scene-info.js
yvan-sraka Jun 15, 2017
7bfc25c
Convert tabs to spaces in HTML files
yvan-sraka Jun 15, 2017
cb9179e
Merge branch 'master' of github.com:googlevr/vrview into patch-1
yvan-sraka Jun 15, 2017
b89dd2d
Merge branch 'master' of github.com:googlevr/vrview into patch-2
yvan-sraka Jun 15, 2017
0570ee7
Merge pull request #124 from yvan-sraka/patch-1
lincolnfrog Jun 15, 2017
2393adf
Merge pull request #126 from yvan-sraka/patch-0
lincolnfrog Jun 15, 2017
f5a5216
Merge pull request #177 from rafa8626/master
lincolnfrog Jun 15, 2017
e540127
Merge branch 'master' into gh-pages
lincolnfrog Jun 15, 2017
e783178
Update scene-info.js
yvan-sraka Jun 16, 2017
ea33cab
Update README.md
yvan-sraka Jun 16, 2017
e9d5fd5
Eliminates global "uglify-js" dependency in favour of local
niksumeiko Jun 16, 2017
f718239
Adds support to set "mute" attribute by default.
andrebonon Jun 18, 2017
380a87c
Add volume setting in the video player's initial configuration
lincolnfrog Jun 19, 2017
2c416c2
Merge pull request #180 from niksumeiko/hotfix/local-uglify-js
lincolnfrog Jun 19, 2017
e2a30cc
Minor refactor to clean up the code for the 'ready' handler
lincolnfrog Jun 19, 2017
90a8bdc
Merge pull request #186 from googlevr/minor-ready-state-fix
lincolnfrog Jun 19, 2017
40f2226
Merge branch 'master' of git://github.com/fix2015/vrview into fix2015…
lincolnfrog Jun 19, 2017
37c3715
* Typo fixes
andrebonon Jun 19, 2017
7868e49
Merge branch 'master' into issue_170
andrebonon Jun 19, 2017
8dffe78
* Set loop to false on the examples.
andrebonon Jun 19, 2017
03cb429
Merge pull request #183 from andrebonon/issue_170
lincolnfrog Jun 19, 2017
98c1f48
Merge remote-tracking branch 'origin/master' into fix2015-master
lincolnfrog Jun 19, 2017
394af9e
Merge pull request #187 from googlevr/fix2015-master
lincolnfrog Jun 19, 2017
00b36e8
Merge branch 'master' into patch-1
yvan-sraka Jun 19, 2017
27b7d3e
Update scene-info.js
yvan-sraka Jun 19, 2017
cbcea26
Merge remote-tracking branch 'origin/master' into initial-volume
lincolnfrog Jun 19, 2017
0a6c4c3
Merge pull request #179 from yvan-sraka/patch-1
lincolnfrog Jun 19, 2017
00efc36
Set theme jekyll-theme-minimal
andrebonon Jun 20, 2017
68af41c
Merge branch 'master' of https://github.com/andrebonon/vrview
andrebonon Jun 20, 2017
8b77cd9
Build files
andrebonon Jun 20, 2017
8c5605e
Added min
andrebonon Jun 20, 2017
c0ee597
Merge pull request #125 from yvan-sraka/patch-2
lincolnfrog Jun 20, 2017
5d1e451
Merge remote-tracking branch 'origin' into gh-pages
lincolnfrog Jun 20, 2017
6b85a3f
Updated build directory
lincolnfrog Jun 20, 2017
b805676
Create .travis.yml
yvan-sraka Jun 20, 2017
233a772
Update package.json
yvan-sraka Jun 20, 2017
f629842
Update README.md
yvan-sraka Jun 20, 2017
aea3994
Update package.json
yvan-sraka Jun 20, 2017
60af5a2
Merge branch 'master' into initial-volume
lincolnfrog Jun 20, 2017
eef2130
Merge pull request #185 from googlevr/initial-volume
lincolnfrog Jun 20, 2017
67a6673
Merge branch 'master' into gh-pages
lincolnfrog Jun 20, 2017
61679b4
Update build files
lincolnfrog Jun 20, 2017
7cb259c
Fix for util.js creating a raw global, violating strict js rules
lincolnfrog Jun 20, 2017
4b2a82e
Update package.json
yvan-sraka Jun 20, 2017
a3a9306
Merge pull request #191 from yvan-sraka/patch-1
lincolnfrog Jun 20, 2017
4ac0081
Merge branch 'master' into strict-fix
lincolnfrog Jun 20, 2017
e3b3817
Merge remote-tracking branch 'upstream/master'
andrebonon Jun 22, 2017
bb3d171
Revert "Added min"
andrebonon Jun 22, 2017
df427ac
Revert "Build files"
andrebonon Jun 22, 2017
dbdb417
Revert "Set theme jekyll-theme-minimal"
andrebonon Jun 22, 2017
925b0eb
Fix the muted function on FF and Safari
andrebonon Jun 22, 2017
7144d2f
Merge pull request #199 from andrebonon/fix_muted_FF_Safari
lincolnfrog Jun 22, 2017
a44fad2
Merge branch 'master' into gh-pages
lincolnfrog Jun 22, 2017
b67da22
Updated build files
lincolnfrog Jun 22, 2017
1d1c8e5
Merge pull request #194 from googlevr/strict-fix
lincolnfrog Jun 23, 2017
57b4bae
use scale.copy instead of scale.set
tommytee Jun 30, 2017
cc62b7f
update tween.js version to latest
tommytee Jun 30, 2017
6dd3805
updated package-lock.json
tommytee Jun 30, 2017
6e81220
reorder render loop so focus is not called when loading new scene
tommytee Jun 30, 2017
98e49ec
reset pose and account for camera rotation when loading scene
tommytee Jul 1, 2017
15dcff9
Merge remote-tracking branch 'upstream/master'
rafa8626 Jul 6, 2017
0394f72
Added fullscreen capability and new option to hide iframe buttons to …
rafa8626 Jul 6, 2017
ecddf12
Merge pull request #205 from tommytee/fix-hotspots
lincolnfrog Jul 10, 2017
3aed246
Merge pull request #207 from tommytee/fix-hotspots-2
lincolnfrog Jul 10, 2017
3da5455
% npm install eslint --save-dev
yvan-sraka Jul 10, 2017
923e6e4
% ./node_modules/.bin/eslint --init
yvan-sraka Jul 10, 2017
39c0b5f
spaces removed from inside parentheses
tommytee Jul 10, 2017
95ddd64
Generate editor config
yvan-sraka Jul 10, 2017
5040bdc
Merge branch 'master' into gh-pages
lincolnfrog Jul 10, 2017
e7ba940
Updated build files
lincolnfrog Jul 10, 2017
dc7bd9c
Merge pull request #217 from yvan-sraka/patch-0
lincolnfrog Jul 10, 2017
cfd31ed
Merge pull request #218 from yvan-sraka/patch-1
lincolnfrog Jul 10, 2017
a50311e
comments added to setDefaultYaw_
tommytee Jul 10, 2017
096f914
switch to uglify-es for ES6
tommytee Jul 10, 2017
f150178
Reticle turned on
tommytee Jul 11, 2017
57c4e88
gaze-to-click in VR working
tommytee Jul 11, 2017
4e7a4f9
npm scripts without GA
tommytee Jul 11, 2017
f0aca29
Added missing fix for fullscreen method and removed fullscreen from c…
rafa8626 Jul 11, 2017
d7fe87a
Merge pull request #208 from tommytee/fix-hotspots-3
lincolnfrog Jul 11, 2017
d5a04a2
Update README.md
yvan-sraka Jul 11, 2017
753274d
Use uglify-es instead of uglify-js to support ES6
lincolnfrog Jul 11, 2017
9961e2e
Merge pull request #226 from googlevr/uglify-es
lincolnfrog Jul 11, 2017
2bf18c0
Merge pull request #224 from tommytee/non-ga-scripts
lincolnfrog Jul 11, 2017
8ed9cc7
Merge pull request #225 from yvan-sraka/patch-1
lincolnfrog Jul 11, 2017
c13cac7
Added the build-analytics to the build-all script
lincolnfrog Jul 11, 2017
7432914
Merge pull request #227 from googlevr/add-analytics-to-buildall
lincolnfrog Jul 11, 2017
a82ec3a
Merge branch 'master' into gh-pages
lincolnfrog Jul 11, 2017
d11c959
Update build files
lincolnfrog Jul 11, 2017
fa648a1
Renamed parameter and refined language on description of new parameter
rafa8626 Jul 11, 2017
4e8e57e
Merge pull request #212 from rafa8626/master
lincolnfrog Jul 11, 2017
8ac0ee3
Fix mixed tabs/spaces to spaces
yvan-sraka Jul 12, 2017
dc42020
fixed package lock conflict
tommytee Jul 12, 2017
2dd890d
Merge pull request #223 from tommytee/fix-hotspots-5
lincolnfrog Jul 12, 2017
4927693
Merge pull request #228 from yvan-sraka/patch-0
lincolnfrog Jul 12, 2017
d4d9e4d
Merge branch 'master' into gh-pages
lincolnfrog Jul 12, 2017
61aab88
Updated build files
lincolnfrog Jul 12, 2017
5ea4ba0
Upgraded webvr-polyfill to version 0.9.38 to fix issue 192
lincolnfrog Sep 15, 2017
b2a5e11
Merge remote-tracking branch 'origin/master' into gh-pages
lincolnfrog Sep 15, 2017
d94fc46
Updated build artifacts
lincolnfrog Sep 15, 2017
65f785f
Change order of rotation to yaw and then pitch
hasandogu Oct 3, 2017
4545ce0
Merge pull request #256 from hasandogu/googlevr-master2
lincolnfrog Oct 3, 2017
cc5fd11
Merge branch 'master' into gh-pages
lincolnfrog Oct 3, 2017
972fcd8
Rebuild
lincolnfrog Oct 3, 2017
2a205f2
Provide links to gh-pages built files in lieu of issues building on W…
jsantell Oct 10, 2017
2f8e9d2
Merge pull request #262 from googlevr/links-to-build
lincolnfrog Oct 12, 2017
7d904cf
Merge branch 'master' into gh-pages
lincolnfrog Oct 20, 2017
35e0523
Add 'allow="vr"' Feature Policy attribute to iframe to permit WebVR i…
ademarre-ca Nov 20, 2017
c585fa2
Removes the image && video check to enable the IE11 fallback
andrebonon Nov 21, 2017
7bfff89
Merge pull request #268 from andrebonon/issue266
lincolnfrog Nov 21, 2017
9a3bc13
Merge remote-tracking branch 'origin/master' into gh-pages
lincolnfrog Nov 21, 2017
ce12a65
Updated build files
lincolnfrog Nov 21, 2017
8966d4f
Avoid arrow function to support es5-only browsers
taye Nov 28, 2017
b33bee6
Merge pull request #278 from ademarre-ca/iframe-vr-feature-policy
lincolnfrog Nov 28, 2017
b5d8268
Fix for rotation order in hotspot renderer:
lincolnfrog Nov 28, 2017
529214a
Merge pull request #281 from googlevr/hotspot-rotation-order-fix
lincolnfrog Nov 28, 2017
43cffab
Revert "Add 'allow="vr"' Feature Policy attribute to iframe to permit…
lincolnfrog Nov 28, 2017
dbbd24b
Merge pull request #282 from googlevr/revert-278-iframe-vr-feature-po…
lincolnfrog Nov 28, 2017
284aad8
Resolved vulnerability with using unsanitized strings
lincolnfrog Mar 14, 2018
bd12336
Merge pull request #308 from googlevr/close-vulnerability
lincolnfrog Mar 15, 2018
fdb007b
Merge branch 'master' into gh-pages
lincolnfrog Mar 15, 2018
a1d5b9c
Updated build files
lincolnfrog Mar 15, 2018
a284645
Update debug package version
lincolnfrog Aug 9, 2018
17d4709
Merge remote-tracking branch 'origin/master' into gh-pages
lincolnfrog Aug 9, 2018
610e20c
Update lodash package
lincolnfrog Aug 9, 2018
e11ce95
Merge remote-tracking branch 'origin/master' into gh-pages
lincolnfrog Aug 9, 2018
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
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
"extends": "google"
};
62 changes: 62 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,65 @@
# Project custom ignores
.DS_Store
*.swp
*.swo
.idea
*.iml

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
language: node_js
71 changes: 58 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,73 @@
VR View
=======
# VR View

[![Build Status](https://travis-ci.org/googlevr/vrview.svg?branch=master)](https://travis-ci.org/googlevr/vrview)
[![dependencies Status](https://david-dm.org/googlevr/vrview/status.svg)](https://david-dm.org/googlevr/vrview)
[![devDependencies Status](https://david-dm.org/googlevr/vrview/dev-status.svg)](https://david-dm.org/googlevr/vrview?type=dev)

VR View allows you to embed 360 degree VR media into websites on desktop and
mobile. For more information, please read the documentation available at
<http://developers.google.com/cardboard/vrview>.

# Configuration

A complete list of VR View parameters can be found in the table below.

Name | Type | Parameter description
---- | ---- | ---------------------
`video` | String | URL to a 360° video file or an adaptive streaming manifest file (.mpd or .m3u8). Exactly one of video or image is required.
`image` | String | URL to a 360° image file. Exactly one of video or image is required.
`width` | String | String value for the iframe's width attribute.
`height` | String | String value for the iframe's height attribute.
`preview` | String | (Optional) URL to a preview image for a 360° image file.
`is_stereo` | Boolean | (Optional) Indicates whether the content at the image or video URL is stereo or not.
`is_debug` | Boolean | (Optional) When true, turns on debug features like rendering hotspots ad showing the FPS meter.
`is_vr_off` | Boolean | (Optional) When true, disables the VR mode button.
`is_autopan_off` | Boolean | (Optional) When true, disables the autopan introduction on desktop.
`default_yaw` | Number | (Optional) Numeric angle in degrees of the initial heading for the 360° content. By default, the camera points at the center of the underlying image.
`is_yaw_only` | Boolean | (Optional) When true, prevents roll and pitch. This is intended for stereo panoramas.
`loop` | Boolean | (Optional) When false, stops the loop in the video.
`hide_fullscreen_button` | Boolean | (Optional) When true, the fullscreen button contained inside the VR View iframe will be hidden. This parameter is useful if the user wants to use VR View's fullscreen workflow (via `vrView.setFullscreen()` callback) with an element outside the iframe.
`volume` | Number | (Optional) The initial volume of the media; it ranges between 0 and 1; zero equals muted.
`muted` | Boolean | (Optional) When true, mutes the sound of the video.

# Downloading files

The `gh-pages` branch hosts the built files. Download these instead of linking to these
locations, since the directory structure of the repo may change in the future.

* [https://googlevr.github.io/vrview/build/vrview.js](https://googlevr.github.io/vrview/build/vrview.js)
* [https://googlevr.github.io/vrview/build/vrview.min.js](https://googlevr.github.io/vrview/build/vrview.min.js)
* [https://googlevr.github.io/vrview/build/embed.js](https://googlevr.github.io/vrview/build/embed.js)
* [https://googlevr.github.io/vrview/build/embed.min.js](https://googlevr.github.io/vrview/build/embed.min.js)
* [https://googlevr.github.io/vrview/build/three.js](https://googlevr.github.io/vrview/build/three.js)
* [https://googlevr.github.io/vrview/build/three.min.js](https://googlevr.github.io/vrview/build/three.min.js)
* [https://googlevr.github.io/vrview/build/device-motion-sender.min.js](https://googlevr.github.io/vrview/build/device-motion-sender.min.js)

# Building

This project uses browserify to manage dependencies and build. Watchify is
This project uses `browserify` to manage dependencies and build. `watchify` is
especially convenient to preserve the write-and-reload model of development.
This package lives in the npm index.

Relevant commands:
**Current builds are not working on Windows ([#261](https://github.com/googlevr/vrview/issues/261))**

npm build - builds the module.
npm build-analytics - builds the module with analytics support.
npm watch - auto-builds the module whenever any source changes.
Relevant commands:
```shell
$ npm run build # builds the iframe embed and JS API (full and minified versions).
$ npm run build-api # builds the JS API (full and minified versions).

$ npm run build-min # builds the minified iframe embed.
$ npm run build-dev # builds the full iframe embed.

# Updating the npm entry
$ npm run build-api-min # builds the minified JS API.
$ npm run build-api-dev # builds the full JS API.

Once changes are made, a new version can be published to the index using the
following commands:
$ npm run watch # auto-builds the iframe embed whenever any source changes.
$ npm run watch-api # auto-builds the JS API code whenever any source changes.
```
As of 2017/06/13, the pre-built js artifacts have been removed from source
control. You must run `npm run build` prior to trying any of the examples.

npm version <NEW_VERSION>
npm publish
git push
# Release Notes
## 2.0.2
Close vulnerability with unsanitized user strings being injected into DOM
1 change: 1 addition & 0 deletions build/device-motion-sender.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading