I am trying to make some code to debug what function is called when of this object.The way i try to do this is to overwrite the existing function with a function which outputs debug information and then calls the original function. Here is a fiddle i made:
Open the console to see debug information. The problem i have is when i call the original function with:
I hope someone can help me with this.
This is the error i get: Uncaught TypeError: undefined is not a function
Open the console to see debug information. The problem i have is when i call the original function with:
Code:
org.apply(me,arguments);I hope someone can help me with this.
This is the error i get: Uncaught TypeError: undefined is not a function
Uncaught TypeError: undefined is not a function. (fiddle included).
Aucun commentaire:
Enregistrer un commentaire