NST icon indicating copy to clipboard operation
NST copied to clipboard

Node.js - Type - support

Open hilferd opened this issue 11 years ago • 0 comments

Hi, please add case 'Node.js': in getLineParser() otherwise, no outline is there for files typed 'Node.js'

like this:

  var getLineParser = function(self) {
    switch (self.lang = d.language) {
      case 'Node.js':
      case 'JavaScript':
        p = new LineParserJS(self.lang,
                             ['name.prototype = {',
                              '*name = {',
                              'name : {'],
                            ['id.prototype.name = function()',
                             'function name() {',
                             '*name = function() {',
                             '*name : function() {']);
        break;
      case 'ActionScript':
        p = new LineParserJS(self.lang,

hilferd avatar May 10 '14 13:05 hilferd