Skip to content

Commit

Permalink
add TypeScript sample and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
syohex committed Oct 2, 2012
1 parent 561c092 commit 0e542c2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
Revision history for quickrun.el

Version 1.7.1 2012/10/02 syohex
- Support TypeScript

Version 1.7 2012/08/31 syohex
Thanks to rolandwalker
- add autoload pragma to interactive functions
Expand Down
2 changes: 1 addition & 1 deletion quickrun.el
Expand Up @@ -4,7 +4,7 @@

;; Author: Syohei YOSHIDA <syohex@gmail.com>
;; URL: https://github.com/syohex/emacs-quickrun
;; Version: 1.7
;; Version: 1.7.1

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
Expand Down
12 changes: 12 additions & 0 deletions sample/sample.ts
@@ -0,0 +1,12 @@
class Greeter {
greeting: string;
constructor (message: string) {
this.greeting = message;
}
greet() {
return "Hello " + this.greeting;
}
}

var greeter = new Greeter("world");
console.log(greeter.greet())

0 comments on commit 0e542c2

Please sign in to comment.