Skip to content

Commit

Permalink
dist bump
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenjameslee committed Jan 17, 2018
1 parent 3e13a7e commit 6d23476
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
72 changes: 36 additions & 36 deletions dist/networked-aframe.js
Expand Up @@ -1794,7 +1794,7 @@
naf.utils = utils;
naf.log = new NafLogger();
naf.schemas = new Schemas();
naf.version = "0.4.0";
naf.version = "0.5.0";

naf.adapters = new AdapterFactory();
var entities = new NetworkEntities();
Expand Down Expand Up @@ -1884,10 +1884,10 @@
return a.selector == b.selector && a.component == b.component && a.property == b.property;
};

/**
* Find the closest ancestor (including the passed in entity) that has a `networked` component
* @param {ANode} entity - Entity to begin the search on
* @returns {ANode} An entity with a `networked` component or null
/**
* Find the closest ancestor (including the passed in entity) that has a `networked` component
* @param {ANode} entity - Entity to begin the search on
* @returns {ANode} An entity with a `networked` component or null
*/
function getNetworkedEntity(entity) {
while (entity && !(entity.components && entity.components.networked)) {
Expand Down Expand Up @@ -3037,8 +3037,8 @@
this.easyrtc.disconnect();
}

/**
* Privates
/**
* Privates
*/

}, {
Expand Down Expand Up @@ -3116,8 +3116,8 @@
}
},

/**
* Connect to signalling server and begin connecting to other clients
/**
* Connect to signalling server and begin connecting to other clients
*/
connect: function connect() {
NAF.log.setDebug(this.data.debug);
Expand Down Expand Up @@ -3752,19 +3752,19 @@

"use strict";

/**
Compressed packet structure:
[
1, // 1 for compressed
networkId,
ownerId,
parent,
{
0: data, // key maps to index of synced components in network component schema
3: data,
4: data
}
]
/**
Compressed packet structure:
[
1, // 1 for compressed
networkId,
ownerId,
parent,
{
0: data, // key maps to index of synced components in network component schema
3: data,
4: data
}
]
*/
module.exports.compressSyncData = function (syncData, allComponents) {
var compressed = [];
Expand Down Expand Up @@ -3796,20 +3796,20 @@
return compressed;
};

/**
Decompressed packet structure:
[
0: 0, // 0 for uncompressed
networkId: networkId,
owner: clientId,
parent: parentNetworkId or null,
template: template,
components: {
position: data,
scale: data,
.head---visible: data
},
]
/**
Decompressed packet structure:
[
0: 0, // 0 for uncompressed
networkId: networkId,
owner: clientId,
parent: parentNetworkId or null,
template: template,
components: {
position: data,
scale: data,
.head---visible: data
},
]
*/
module.exports.decompressSyncData = function (compressed, components) {
var entityData = {};
Expand Down

0 comments on commit 6d23476

Please sign in to comment.