Last change
on this file since 31525 was 31525, checked in by ak19, 7 years ago |
Nathan provided more stuff: Themes folder contains Sencha's Themebuilder which generates GXT Themes. It includes the .theme and generated .jar files for the project theme.
|
File size:
564 bytes
|
Line | |
---|
1 | system = require 'system'
|
---|
2 |
|
---|
3 | system.stdout.write 'Hello, system.stdout.write!'
|
---|
4 | system.stdout.writeLine '\nHello, system.stdout.writeLine!'
|
---|
5 |
|
---|
6 | system.stderr.write 'Hello, system.stderr.write!'
|
---|
7 | system.stderr.writeLine '\nHello, system.stderr.writeLine!'
|
---|
8 |
|
---|
9 | system.stdout.writeLine 'system.stdin.readLine(): '
|
---|
10 | line = system.stdin.readLine()
|
---|
11 | system.stdout.writeLine JSON.stringify line
|
---|
12 |
|
---|
13 | # This is essentially a `readAll`
|
---|
14 | system.stdout.writeLine 'system.stdin.read(5): (ctrl+D to end)'
|
---|
15 | input = system.stdin.read 5
|
---|
16 | system.stdout.writeLine JSON.stringify input
|
---|
17 |
|
---|
18 | phantom.exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.