-
-
Save moalex/2b5ccb4f58f26e0e9e937a161f508877 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