Last active
April 1, 2019 22:58
-
-
Save supermoos/786ae3f07d6ff6735f61 to your computer and use it in GitHub Desktop.
TypeScript jQuery document ready
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///<reference path="./typings/jquery/jquery.d.ts"/> | |
'use strict'; | |
class Main { | |
constructor() { | |
jQuery(document).ready(() => { | |
console.log('Hello from app/scripts/ts/Main.ts'); | |
}); | |
} | |
} | |
var main:Main = new Main(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment