Skip to content

Basic usage #1

@rhythmone

Description

@rhythmone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions