Sha256: 86bf287d89a923d9473e742599e5924eb4f4f62e0dc24989c69c8da4b8fff51f

Contents?: true

Size: 536 Bytes

Versions: 2

Compression:

Stored size: 536 Bytes

Contents

//Written using Nila. Visit http://adhithyan15.github.io/nila
(function() {
  var read;

  read = rl.on('line',function(line) {
    switch(line.trim()) {
      case 'hello':
        console.log("world!");
        break;
      default:
        console.log("Say what? I might have heard " + (line.trim()));
    }
    rl.prompt();
  });

  read.on('close',function() {
    console.log("Have a great day!");
    process.exit(0);
  });

  process.argv.forEach(function(val,index,array) {
    commandline_args.push(val);
  });

}).call(this);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.7.1 shark/test_files/correct_blocks.js
nilac-0.0.4.3.9.7 shark/test_files/correct_blocks.js