Skip to content
This repository was archived by the owner on Apr 8, 2019. It is now read-only.
This repository was archived by the owner on Apr 8, 2019. It is now read-only.

fix instance of array problem #7

Description

@akjava

if method need Array or Object parameters ,and in inside it is using instanceof to parameter,it make a problem.
i heard some frame problem is there.(maybe linker option fix this problem)
for example in JSONLoader.js ,if url is object never called console.warn.

THREE.JSONLoader.prototype.load = function ( url, callback, texturePath ) {
var worker, scope = this;
if ( url instanceof Object ) {
console.warn( 'DEPRECATED: JSONLoader( parameters ) is now JSONLoader( url, callback, texturePath ).' );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions