\r
\r
);\r
- \r
+ \r
// Function to handle tweening using a set timeout\r
var tween = function ( rM, t ) {\r
\r
setTimeout( function () {\r
\r
// Checks whether this is a generated route or not\r
- if( typeof options.tween === "array" ){\r
+\r
+ if( typeof options.tween === "object" ){\r
\r
for ( var i = 0; i < rM.length; i++ ) {\r
\r
\r
}\r
}\r
- else if( typeof options.tween === "array" ){\r
+ else if( typeof options.tween === "object" ){\r
\r
// Same as the above to stop streetview maps from overflowing into one another\r
var sView3 = sView;\r