]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/init-package-json/node_modules/promzard/test/fn.input
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / init-package-json / node_modules / promzard / test / fn.input
1 var fs = require('fs')
2
3 module.exports = {
4   "a": 1 + 2,
5   "b": prompt('To be or not to be?', '!2b', function (s) {
6     return s.toUpperCase() + '...'
7   }),
8   "c": {
9     "x": prompt(function (x) { return x * 100 }),
10     "y": tmpdir + "/y/file.txt"
11   },
12   a_function: function (cb) {
13     fs.readFile(__filename, 'utf8', cb)
14   },
15   asyncPrompt: function (cb) {
16     return cb(null, prompt('a prompt at any other time would smell as sweet'))
17   }
18 }