Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic usage #1

Open
rhythmone opened this issue Oct 22, 2010 · 0 comments
Open

Basic usage #1

rhythmone opened this issue Oct 22, 2010 · 0 comments

Comments

@rhythmone
Copy link

I get an error when trying to use this (in Safari)..
I am sourcing memory_leak_checker.js and from JavaScript (using jQuery) calling: MemoryLeakChecker(window)

It does NOT error out if I do NOT call: MemoryLeakChecker(window)
Then the console displays basically every object there is... is this the way this is to work??
There is so much there... you would have to toggle everything all the time to see whats happening

Can I not pass it an object to test? like var testObj = {}; MemoryLeakChecker(testObj) ?
I tried this but got an error:
TypeError: Result of expression 'MemoryLeakChecker' [[object Object]] is not a function.

just like when trying to call: MemoryLeakChecker(window) ... as per the instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant