Skip to content

Separete parser functions #63

@tormec

Description

@tormec

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions