Skip to content

Commit

Permalink
Version bump 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
altspaceautobot committed Apr 7, 2017
1 parent 8852c84 commit 0520d93
Show file tree
Hide file tree
Showing 39 changed files with 48 additions and 83 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Many APIs are present in the client without loading `altspace.js`, but please st

The version baked into the altspace.js script will determine which version of the entire SDK the client will provide your app. This means that if we make any breaking internal changes to things like rendering or cursor events, and you are using an older version of `altspace.js`, we will try to return legacy behavior appropriate to your version of `altspace.js`. Versioning will follow [SEMVER](http://semver.org/) as closely as possible. Details for each version can be found in the [Release Notes](https://github.com/AltspaceVR/AltspaceSDK/releases).

**Latest Version: v2.3.0 -- [See Changes](https://github.com/AltspaceVR/AltspaceSDK/releases/tag/v2.3.0)**
**Latest Version: v2.4.0 -- [See Changes](https://github.com/AltspaceVR/AltspaceSDK/releases/tag/v2.4.0)**

Include the latest version of the SDK in your app with:

`<script src="https://sdk.altvr.com/libs/altspace.js/2.3.0/altspace.min.js"></script>`
`<script src="https://sdk.altvr.com/libs/altspace.js/2.4.0/altspace.min.js"></script>`

If you use npm, you can install altspace.js with:

Expand Down
38 changes: 3 additions & 35 deletions dist/altspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ var AltspaceTrackedControls = (function (AFrameComponent$$1) {
* <head>
* <title>My A-Frame Scene</title>
* <script src="https://aframe.io/releases/0.3.0/aframe.min.js"></script>
* <script src="https://cdn.rawgit.com/AltspaceVR/AltspaceSDK/v2.3.0/dist/altspace.min.js"></script>
* <script src="https://cdn.rawgit.com/AltspaceVR/AltspaceSDK/v2.4.0/dist/altspace.min.js"></script>
* </head>
* <body>
* <a-scene altspace>
Expand Down Expand Up @@ -2223,36 +2223,6 @@ var NCockpitParent = (function (NativeComponent$$1) {
return NCockpitParent;
}(NativeComponent));

/**
* Allows you to turn an object into a rigidbody. This is currently only useful for triggering events on colliders.
* @aframe
* @alias n-rigidbody
* @memberof module:altspace/components
* @extends module:altspace/components.NativeComponent
*/
var NRigidbody = (function (NativeComponent$$1) {
function NRigidbody(){ NativeComponent$$1.call(this, 'n-rigidbody'); }

if ( NativeComponent$$1 ) NRigidbody.__proto__ = NativeComponent$$1;
NRigidbody.prototype = Object.create( NativeComponent$$1 && NativeComponent$$1.prototype );
NRigidbody.prototype.constructor = NRigidbody;

var prototypeAccessors$4 = { schema: {} };
prototypeAccessors$4.schema.get = function (){ return {
/**
* Setting this to true will cause this object to trigger events on trigger colliders.
* @member {boolean} module:altspace/components.n-rigidbody#isKinematic
*/
isKinematic: {type: 'boolean'},
positionConstraints: {default: [null, null, null], type: 'array'},
rotationConstraints: {default: [null, null, null], type: 'array'},
}; };

Object.defineProperties( NRigidbody.prototype, prototypeAccessors$4 );

return NRigidbody;
}(NativeComponent));

/**
* Abstract base class for [n-sphere-collider]{@link module:altspace/components.n-sphere-collider},
* [n-box-collider]{@link module:altspace/components.n-box-collider},
Expand Down Expand Up @@ -2954,7 +2924,7 @@ var NLayoutBrowser = (function (NativeComponent$$1) {
* <head>
* <title>My A-Frame Scene</title>
* <script src="https://aframe.io/releases/0.3.0/aframe.min.js"></script>
* <script src="https://cdn.rawgit.com/AltspaceVR/AltspaceSDK/v2.3.0/dist/altspace.min.js"></script>
* <script src="https://cdn.rawgit.com/AltspaceVR/AltspaceSDK/v2.4.0/dist/altspace.min.js"></script>
* </head>
* <body>
* <a-scene altspace>
Expand Down Expand Up @@ -2991,7 +2961,6 @@ if (window.AFRAME)
registerComponentClass('n-box-collider', NBoxCollider);
registerComponentClass('n-capsule-collider', NCapsuleCollider);
registerComponentClass('n-mesh-collider', NMeshCollider);
registerComponentClass('n-rigidbody', NRigidbody);
registerComponentClass('n-layout-browser', NLayoutBrowser);
}

Expand All @@ -3018,7 +2987,6 @@ var components_lib = Object.freeze({
NBillboard: NBillboard,
NSkeletonParent: NSkeletonParent,
NCockpitParent: NCockpitParent,
NRigidbody: NRigidbody,
NContainer: NContainer,
NSound: NSound,
NSphereCollider: NSphereCollider,
Expand Down Expand Up @@ -6170,7 +6138,7 @@ var utilities_lib = Object.freeze({
if(!Object.isFrozen(window.altspace))
{ Object.assign(window.altspace, {components: {}, utilities: {}, inClient: false}); }

var version = '2.3.0';
var version = '2.4.0';
if (window.altspace.requestVersion) {
window.altspace.requestVersion(version);
}
Expand Down
6 changes: 3 additions & 3 deletions dist/altspace.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions doc/aframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<label for="nav-trigger" class="overlay"></label>

<nav onscroll='saveVerticalScrollPosition(event)'>
<h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-altspace_components.html">altspace/components</a></li><li><a href="module-altspace_resources.html">altspace/resources</a></li></ul><h3>Classes</h3><ul><li><a href="module-altspace_components.AFrameComponent.html">AFrameComponent</a></li><li><a href="module-altspace_components.AFrameSystem.html">AFrameSystem</a></li><li><a href="module-altspace_components.altspace.html">altspace</a></li><li><a href="module-altspace_components.altspace-cursor-collider.html">altspace-cursor-collider</a></li><li><a href="module-altspace_components.altspace-tracked-controls.html">altspace-tracked-controls</a></li><li><a href="module-altspace_components.instantiator.html">instantiator</a></li><li><a href="module-altspace_components.n-billboard.html">n-billboard</a></li><li><a href="module-altspace_components.n-box-collider.html">n-box-collider</a></li><li><a href="module-altspace_components.n-capsule-collider.html">n-capsule-collider</a></li><li><a href="module-altspace_components.n-cockpit-parent.html">n-cockpit-parent</a></li><li><a href="module-altspace_components.n-container.html">n-container</a></li><li><a href="module-altspace_components.n-layout-browser.html">n-layout-browser</a></li><li><a href="module-altspace_components.n-mesh-collider.html">n-mesh-collider</a></li><li><a href="module-altspace_components.n-object.html">n-object</a></li><li><a href="module-altspace_components.n-portal.html">n-portal</a></li><li><a href="module-altspace_components.n-rigidbody.html">n-rigidbody</a></li><li><a href="module-altspace_components.n-skeleton-parent.html">n-skeleton-parent</a></li><li><a href="module-altspace_components.n-sound.html">n-sound</a><ul class='methods'><li data-type='method'><a href="module-altspace_components.n-sound.html#pauseSound">pauseSound</a></li><li data-type='method'><a href="module-altspace_components.n-sound.html#playSound">playSound</a></li><li data-type='method'><a href="module-altspace_components.n-sound.html#seek">seek</a></li></ul></li><li><a href="module-altspace_components.n-spawner.html">n-spawner</a></li><li><a href="module-altspace_components.n-sphere-collider.html">n-sphere-collider</a></li><li><a href="module-altspace_components.n-text.html">n-text</a></li><li><a href="module-altspace_components.NativeComponent.html">NativeComponent</a></li><li><a href="module-altspace_components.NCollider.html">NCollider</a></li><li><a href="module-altspace_components.one-per-user.html">one-per-user</a></li><li><a href="module-altspace_components.sync.html">sync</a><ul class='methods'><li data-type='method'><a href="module-altspace_components.sync.html#takeOwnership">takeOwnership</a></li></ul></li><li><a href="module-altspace_components.sync-color.html">sync-color</a></li><li><a href="module-altspace_components.sync-n-skeleton-parent.html">sync-n-skeleton-parent</a></li><li><a href="module-altspace_components.sync-n-sound.html">sync-n-sound</a></li><li><a href="module-altspace_components.sync-system.html">sync-system</a><ul class='methods'><li data-type='method'><a href="module-altspace_components.sync-system.html#instantiate">instantiate</a></li><li data-type='method'><a href="module-altspace_components.sync-system.html#isMasterClient">isMasterClient</a></li><li data-type='method'><a href="module-altspace_components.sync-system.html#removeLast">removeLast</a></li></ul></li><li><a href="module-altspace_components.sync-transform.html">sync-transform</a></li><li><a href="module-altspace_components.wire.html">wire</a></li></ul><h3>Events</h3><ul><li><a href="module-altspace_components.sync-system.html#event:clientjoined">clientjoined</a></li><li><a href="module-altspace_components.sync-system.html#event:clientleft">clientleft</a></li><li><a href="module-altspace_components.sync-system.html#event:connected">connected</a></li><li><a href="module-altspace_components.n-container.html#.event:container-count-changed">container-count-changed</a></li><li><a href="module-altspace_components.n-container.html#.event:container-empty">container-empty</a></li><li><a href="module-altspace_components.n-container.html#.event:container-full">container-full</a></li><li><a href="module-altspace_components.NSound.html#.event:n-sound-loaded">n-sound-loaded</a></li><li><a href="module-altspace_components.NSound.html#.event:sound-paused">sound-paused</a></li><li><a href="module-altspace_components.NSound.html#.event:sound-played">sound-played</a></li><li><a href="module-altspace_components.NCollider.html#.event:triggerenter">triggerenter</a></li><li><a href="module-altspace_components.NCollider.html#.event:triggerexit">triggerexit</a></li></ul>
<h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-altspace_components.html">altspace/components</a></li><li><a href="module-altspace_resources.html">altspace/resources</a></li></ul><h3>Classes</h3><ul><li><a href="module-altspace_components.AFrameComponent.html">AFrameComponent</a></li><li><a href="module-altspace_components.AFrameSystem.html">AFrameSystem</a></li><li><a href="module-altspace_components.altspace.html">altspace</a></li><li><a href="module-altspace_components.altspace-cursor-collider.html">altspace-cursor-collider</a></li><li><a href="module-altspace_components.altspace-tracked-controls.html">altspace-tracked-controls</a></li><li><a href="module-altspace_components.instantiator.html">instantiator</a></li><li><a href="module-altspace_components.n-billboard.html">n-billboard</a></li><li><a href="module-altspace_components.n-box-collider.html">n-box-collider</a></li><li><a href="module-altspace_components.n-capsule-collider.html">n-capsule-collider</a></li><li><a href="module-altspace_components.n-cockpit-parent.html">n-cockpit-parent</a></li><li><a href="module-altspace_components.n-container.html">n-container</a></li><li><a href="module-altspace_components.n-layout-browser.html">n-layout-browser</a></li><li><a href="module-altspace_components.n-mesh-collider.html">n-mesh-collider</a></li><li><a href="module-altspace_components.n-object.html">n-object</a></li><li><a href="module-altspace_components.n-portal.html">n-portal</a></li><li><a href="module-altspace_components.n-skeleton-parent.html">n-skeleton-parent</a></li><li><a href="module-altspace_components.n-sound.html">n-sound</a><ul class='methods'><li data-type='method'><a href="module-altspace_components.n-sound.html#pauseSound">pauseSound</a></li><li data-type='method'><a href="module-altspace_components.n-sound.html#playSound">playSound</a></li><li data-type='method'><a href="module-altspace_components.n-sound.html#seek">seek</a></li></ul></li><li><a href="module-altspace_components.n-spawner.html">n-spawner</a></li><li><a href="module-altspace_components.n-sphere-collider.html">n-sphere-collider</a></li><li><a href="module-altspace_components.n-text.html">n-text</a></li><li><a href="module-altspace_components.NativeComponent.html">NativeComponent</a></li><li><a href="module-altspace_components.NCollider.html">NCollider</a></li><li><a href="module-altspace_components.one-per-user.html">one-per-user</a></li><li><a href="module-altspace_components.sync.html">sync</a><ul class='methods'><li data-type='method'><a href="module-altspace_components.sync.html#takeOwnership">takeOwnership</a></li></ul></li><li><a href="module-altspace_components.sync-color.html">sync-color</a></li><li><a href="module-altspace_components.sync-n-skeleton-parent.html">sync-n-skeleton-parent</a></li><li><a href="module-altspace_components.sync-n-sound.html">sync-n-sound</a></li><li><a href="module-altspace_components.sync-system.html">sync-system</a><ul class='methods'><li data-type='method'><a href="module-altspace_components.sync-system.html#instantiate">instantiate</a></li><li data-type='method'><a href="module-altspace_components.sync-system.html#isMasterClient">isMasterClient</a></li><li data-type='method'><a href="module-altspace_components.sync-system.html#removeLast">removeLast</a></li></ul></li><li><a href="module-altspace_components.sync-transform.html">sync-transform</a></li><li><a href="module-altspace_components.wire.html">wire</a></li></ul><h3>Events</h3><ul><li><a href="module-altspace_components.sync-system.html#event:clientjoined">clientjoined</a></li><li><a href="module-altspace_components.sync-system.html#event:clientleft">clientleft</a></li><li><a href="module-altspace_components.sync-system.html#event:connected">connected</a></li><li><a href="module-altspace_components.n-container.html#.event:container-count-changed">container-count-changed</a></li><li><a href="module-altspace_components.n-container.html#.event:container-empty">container-empty</a></li><li><a href="module-altspace_components.n-container.html#.event:container-full">container-full</a></li><li><a href="module-altspace_components.NSound.html#.event:n-sound-loaded">n-sound-loaded</a></li><li><a href="module-altspace_components.NSound.html#.event:sound-paused">sound-paused</a></li><li><a href="module-altspace_components.NSound.html#.event:sound-played">sound-played</a></li><li><a href="module-altspace_components.NCollider.html#.event:triggerenter">triggerenter</a></li><li><a href="module-altspace_components.NCollider.html#.event:triggerexit">triggerexit</a></li></ul>
</nav>
<script>loadVerticalScrollPosition()</script>

Expand Down Expand Up @@ -73,7 +73,7 @@ <h2>Quick Start</h2><p>This is a fully functional example of what A-Frame code l
<pre class="prettyprint source lang-html"><code>&lt;!DOCTYPE html>
&lt;html>&lt;head>
&lt;script src=&quot;https://aframe.io/releases/0.3.0/aframe.min.js&quot;>&lt;/script>
&lt;script src=&quot;https://sdk.altvr.com/libs/altspace.js/2.3.0/altspace.min.js&quot;>&lt;/script>
&lt;script src=&quot;https://sdk.altvr.com/libs/altspace.js/2.4.0/altspace.min.js&quot;>&lt;/script>
&lt;script>

// an example custom component, that will change the color when clicked
Expand Down
Loading

0 comments on commit 0520d93

Please sign in to comment.