Is this method in planning? Maybe it is already there somewhere? I would like to capture the current running method name in the method as a string.
- david
Is this method in planning? Maybe it is already there somewhere? I would like to capture the current running method name in the method as a string.
JavaScript spec 1.5 does not support something, why whould you need such a thing?
Jan Blok:
JavaScript spec 1.5 does not support something, why whould you need such a thing?
Hehe, I realize this is my FileMaker background coming through – I don’t have an example that makes this a great feature. My development template is still a work in progress and the thought occurred to me that being able to have method naming conventions influence how a method behaves might come in useful.
So it is not a big deal but maybe an additional way to pass parameters to a method wouldn’t hurt if it is easy to implement:
var my_string = getMethodName();
forms[my_string].controller.show();