Skip to content

Commit

Permalink
Add fortran and jsx sample
Browse files Browse the repository at this point in the history
  • Loading branch information
syohex committed Jun 13, 2012
1 parent 975ce52 commit bb7cc93
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sample/sample.f95
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
program hello
print *, 'Hello World!'
end program hello
23 changes: 23 additions & 0 deletions sample/sample.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
class HelloEditor {
var _editors : string[];

function constructor () {
}

function constructor (editors : string[]) {
this._editors = editors;
}

function hello () : void {
this._editors.forEach(function(e) {
log e;
});
}
}

class _Main {
static function main(args :string[]) : void {
var he = new HelloEditor(['Emacs', 'Vim', 'TextMate']);
he.hello();
}
}

0 comments on commit bb7cc93

Please sign in to comment.