| JavaScript Editor contributions [message #660145] |
Wed, 16 March 2011 23:46  |
Matt Messages: 2 Registered: March 2011 |
Junior Member |
|
|
Hi guys,
I'd really like to get the JS Editor in WTP to pickup a few more JS patterns than it curently does, e.g. the module pattern.
If I have:
var someVar = 1;
function someFn = function() {
// empty
}
They both appear in the outline. However if I wrap those two in a module with its own scope like so:
namespace.module = (function() {
var someVar = 1;
function someFn = function() {
// empty
}
}());
The outline is now empty.
I've had a quick look at the src but a bit lost already, can anyone point me in the right direction?
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01657 seconds