janusweb 1.5.34 → 1.5.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,7 +50,7 @@
50
50
  }
51
51
 
52
52
  function getTagRegexp(tagName, anchored) {
53
- return new RegExp((anchored ? "^" : "") + "<\/\s*" + tagName + "\s*>", "i");
53
+ return new RegExp((anchored ? "^" : "") + "<\/\\s*" + tagName + "\\s*>", "i");
54
54
  }
55
55
 
56
56
  function addTags(from, to) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "janusweb",
3
3
  "description": "Web client for JanusVR worlds",
4
- "version": "1.5.34",
4
+ "version": "1.5.35",
5
5
  "main": "scripts/janusweb.js",
6
6
  "author": "James Baicoianu",
7
7
  "license": "MIT",
@@ -491,7 +491,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
491
491
  avatar_src: 'data:text/plain,' + encodeURIComponent(avatar),
492
492
  showlabel: false,
493
493
  //pos: V(0, -this.fatness, 0),
494
- rotation: V(0, 180, 0),
494
+ //rotation: V(0, 180, 0),
495
495
  renderorder: 101,
496
496
  });
497
497
  this.ghost.orientation.set(0,1,0,0);
@@ -655,7 +655,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
655
655
  avatar_src: 'data:text/plain,' + encodeURIComponent(avatar),
656
656
  showlabel: false,
657
657
  //pos: V(0, -this.fatness, 0),
658
- rotation: V(0, 180, 0),
658
+ //rotation: V(0, 180, 0),
659
659
  renderorder: 101,
660
660
  });
661
661
 
package/scripts/portal.js CHANGED
@@ -3,7 +3,7 @@ elation.require(['janusweb.janusbase'], function() {
3
3
  this.postinit = function() {
4
4
  this.defineProperties({
5
5
  'url': { type: 'string', set: this.updateTitle },
6
- 'title': { type: 'string' },
6
+ 'title': { type: 'string', set: this.updateTitle },
7
7
  'janus': { type: 'object' },
8
8
  'room': { type: 'object' },
9
9
  //'color': { type: 'color', default: new THREE.Color(0xffffff), set: this.updateMaterial },
@@ -11,7 +11,6 @@ elation.require(['janusweb.janusbase'], function() {
11
11
  'open': { type: 'boolean', default: false },
12
12
  'collision_id': { type: 'string', default: 'cube', set: this.updateCollider },
13
13
  'collision_scale': { type: 'vector3', set: this.updateCollider },
14
- 'title': { type: 'string', set: this.updateTitle },
15
14
  'seamless': { type: 'boolean', default: false },
16
15
  'draw_text': { type: 'boolean', default: true, set: this.updateTitle },
17
16
  'draw_glow': { type: 'boolean', default: true, refreshGeometry: true},