Merge pull request #232 from carlrobert/patch-12

constructor spelling ...
This commit is contained in:
Walter Higgins 2015-04-15 07:44:58 +01:00
commit defce04a45

View file

@ -192,7 +192,7 @@ Location object.
***/
exports.locationFromJSON = function( json ) {
var world;
if ( json.constuctor == Array ) {
if ( json.constructor == Array ) {
// for support of legacy format
world = _world( json[0] );
return new bkLocation( world, json[1], json[2] , json[3] );