NST icon indicating copy to clipboard operation
NST copied to clipboard

Separete parser functions

Open tormec opened this issue 8 years ago • 0 comments

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

tormec avatar Nov 23 '17 21:11 tormec