Skip to content

Commit

Permalink
Fix resource typos (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
rroux-gpsw authored and benjamin committed Oct 30, 2017
1 parent 70c9a75 commit a718297
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
ForgeJS is a modern web-based engine built on standard technologies (HTML5, Javascript and WebGL) that runs on every modern browser to unleash immersive VR content experiences.
It's not only a VR engine, it's a framework for authoring VR content. You can use ForgeJS even if you do not have advanced programming skills: ForgeJS is able to read a configuration file and create the experience from it.

## Ressources
## Resources

Many documentation ressources are available online:
Many documentation resources are available online:
- [API Documentation ](https://releases.forgejs.org/latest/doc/jsdoc) describes all public methods, interfaces, properties and events.
- [JSON reference](https://releases.forgejs.org/latest/doc/json) explains how to describe your project in the json configuration file.
- [Samples](https://forgejs.org/samples) demonstrates how to build your experience in the config.json file.
Expand Down
2 changes: 1 addition & 1 deletion reference/scene/scene-media-source.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "string",
"enum": [ "equi", "cube", "flat" ],
"title": "Format",
"description": "The format of the media: equi is for an equirectangular ressource (the most common one) and cube is for a cubemap ressource (less common but more efficient to display). Can be :<ul><li>equi</li><li>cube</li><li>flat</li><li>hotspot</li></ul>",
"description": "The format of the media: equi is for an equirectangular resource (the most common one) and cube is for a cubemap resource (less common but more efficient to display). Can be :<ul><li>equi</li><li>cube</li><li>flat</li><li>hotspot</li></ul>",
"example": "equi"
},

Expand Down
2 changes: 1 addition & 1 deletion src/display/components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ FORGE.Button.prototype._applySkin = function(name)
*/
FORGE.Button.prototype._applyState = function(state)
{
//The button is not loaded the time to apply its skin and load its ressources
//The button is not loaded the time to apply its skin and load its resources
this._loaded = false;

//Set the current state (out, over, down)
Expand Down
4 changes: 2 additions & 2 deletions src/display/image/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ FORGE.Image = function(viewer, config, className)
this._i18n = false;

/**
* The i18n key associated to the image ressource in cache.
* The i18n key associated to the image resource in cache.
* @name FORGE.Image#_i18nImageKey
* @type {string}
* @private
Expand Down Expand Up @@ -120,7 +120,7 @@ FORGE.Image = function(viewer, config, className)
this._framesLoaded = false;

/**
* Is the current ressource is loaded.
* Is the current resource is loaded.
* @name FORGE.Image#_loaded
* @type {boolean}
* @private
Expand Down
4 changes: 2 additions & 2 deletions src/hotspots/HotspotMaterial.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Hotspot material handles the parse of the material config and the loading of the needed ressource.<br>
* In the end it provides a THREE.MeshBasicMaterial when the ressources are loaded.
* Hotspot material handles the parse of the material config and the loading of the needed resource.<br>
* In the end it provides a THREE.MeshBasicMaterial when the resources are loaded.
*
* @constructor FORGE.HotspotMaterial
* @param {FORGE.Viewer} viewer - The viewer reference.
Expand Down
2 changes: 1 addition & 1 deletion src/hotspots/HotspotSound.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hotspot sound handles the parse of the sound config and the loading of the needed sound ressource.
* Hotspot sound handles the parse of the sound config and the loading of the needed sound resource.
* It also ajusts the volume of the sound depending of your camera position.
*
* @constructor FORGE.HotspotSound
Expand Down

0 comments on commit a718297

Please sign in to comment.