Jump to content

Adding custom properties


mwpowellhtx
 Share

Recommended Posts

It looks like a file that you reference is playing with array.trim() function. But this is NOT related to babylon.js

Here is the code of the GetMeshesByTags:

https://github.com/BabylonJS/Babylon.js/blob/master/src/babylon.scene.ts#L2888

It uses trim in several places like here: https://github.com/BabylonJS/Babylon.js/blob/master/src/Tools/babylon.andOrNotEvaluator.js#L34

If trim does not exist anymore, then this means that ANOTHER script modifies it.

 

Link to comment
Share on other sites

@Deltakosh I hear what you're saying, but I cannot verify that in either case, for PG, or in my own app.

From the PG, using Chrome:

Array.prototype.trim
undefined
String.prototype.trim
function trim() { [native code] }

And in my own app:

Array.prototype.trim
undefined
String.prototype.trim
function trim() { [native code] }

So if there is something being added, it is by one of the PG references, not mine taking what is undefined away.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...