NST
NST copied to clipboard
Separete parser functions
I think it worth to separate all parsers functions:
content
NST.js
overlay.xul
pane-nst.xul
parsers
python.js
...
In python.js you will have your function:
(LineParserPython = function(document) {
// code
}());
Then, at the beginning of NST.js import python.js using:
xtk.load('chrome://NST/content/parsers/python.js');
see http://docs.komodoide.com/SDK/api/legacy/xtk#xtk_functions_load