codebelt.com
TypeScript Internal and External Modules « codeBelt
http://www.codebelt.com/typescript/typescript-internal-and-external-modules
Grab the RSS feed. TypeScript Internal and External Modules. Posted by robert Filed under TypeScript. Update: New and better Boilerplate that uses ES6 Modules in TypeScript. Final I figured out how to do both TypeScript AMD & CommonJS external modules and TypeScript Internal module classes. Hopefully you can get started right away with my examples below. TypeScript External Modules Classes. Files to see how to setup an TypeScript application with RequireJS. TypeScript Internal Modules Classes. Reference ...
codebelt.com
TypeScript Source Maps After Uglify « codeBelt
http://www.codebelt.com/typescript/typescript-source-maps-after-uglify
Grab the RSS feed. TypeScript Source Maps After Uglify. Posted by robert Filed under TypeScript. Update: New and better Boilerplate that uses ES6 Modules in TypeScript. I am going to take my first TypeScript Source Maps Example. A step future. I am going to take our compiled TypeScript code and then use UglifyJS. To minify it. UglifyJS will also create a new source map for the minified version of the code. I am going to assume you have read my first TypeScript Source Maps Example. November 15th, 2013.
codebelt.com
My TypeScript Workflow Example « codeBelt
http://www.codebelt.com/typescript/my-typescript-workflow-examples
Grab the RSS feed. My TypeScript Workflow Example. Posted by robert Filed under TypeScript. Update: New and better Boilerplate that uses ES6 Modules in TypeScript. Being a former ActionScript developer, TypeScript is the next best thing and I wanted to share my TypeScript workflow. This is not a TypeScript workflow for Visual Studio. My IDE. Of choice is WebStorm. And they both have great TypeScript support. Let Something Else Do The Grunt Work. My whole TypeScript workflow is handle by GruntJS. These tw...
codebelt.com
jQuery event Listener plugin « codeBelt
http://www.codebelt.com/jquery/jquery-event-listener-plugin
Grab the RSS feed. JQuery event Listener plugin. Posted by robert Filed under jQuery. When creating JavaScript classes you will run into an issue where you cannot remove event listeners once you’ve added them. To get this to work you typically need to assign your bind function call(s) to a property on the class. You can see this in the Example 1 below in the setupHandlers method. Also check out the EventListenerApp sample code. https:/ github.com/codeBelt/jquery-eventListener. Example 1 without plugin.
codebelt.com
TypeScript Source Maps Example « codeBelt
http://www.codebelt.com/typescript/typescript-source-maps-example
Grab the RSS feed. TypeScript Source Maps Example. Posted by robert Filed under TypeScript. I put together a fast TypeScript Source Maps. Example. Currently it only works in Google Chrome but first you need to enable source maps. Open the “Developer Tools” panel and then click on the “gear” icon (bottom right). Then go to Settings General and check “Enable JS source maps”. In the code I created a JavaScript object and tried console logging a property that didn’t exist on it. November 14th, 2013. I create...
codebelt.com
TypeScript Classes & Object-Oriented Programming « codeBelt
http://www.codebelt.com/typescript/typescript-classes-object-oriented-programming
Grab the RSS feed. TypeScript Classes & Object-Oriented Programming. Posted by robert Filed under TypeScript. Update: New and better Boilerplate that uses ES6 Modules in TypeScript. Full credit for this article goes to Peter Elst. I took a really old article of his and modified it to talk about TypeScript. The concepts covered in this article will help you begin writing more portable, reusable code and move beyond the world of procedural code. Classes are nothing more than a collection of functions (.
codebelt.com
TypeScript AMD with RequireJS Tutorial « codeBelt
http://www.codebelt.com/typescript/typescript-amd-with-requirejs-tutorial
Grab the RSS feed. TypeScript AMD with RequireJS Tutorial. Posted by robert Filed under TypeScript. Update: New and better Boilerplate that uses ES6 Modules in TypeScript. In this TypeScript RequireJS tutorial I will show you how to setup AMD classes, setup your config file and how to use RequireJS plugins with TypeScript. Below is how we setup a AMD class that we can use with RequireJS. The most important part is to have the export statement below the class itself and to equal the class you created.
codebelt.com
TypeScript Cheat Sheet « codeBelt
http://www.codebelt.com/typescript/typescript-cheat-sheet
Grab the RSS feed. Posted by robert Filed under TypeScript. I just wanted to share a few good TypeScript links I have found. The Definitive TypeScript Guide. Also checkout my TypeScript Tutorials. January 5th, 2014. Click here to cancel reply. Mail (will not be published) (required). Code {AT} codebelt.com. Chris Black's Blog. Hello, my name is Robert and I am an interactive developer at The Nerdery. Theme by: Theme Lab.
codebelt.com
Templates Snippets in your IDE « codeBelt
http://www.codebelt.com/javascript/templates-snippets-in-your-ide
Grab the RSS feed. Templates Snippets in your IDE. Posted by robert Filed under JavaScript. In this article I am going to talk about how you can speed up your development by using templates in Sublime Text. And JetBrains IDE’s. WebStorm, PhpStorm, etc). Below you can see the snippets in action. Just hit the Tab. Key to fill in the next predefined input area. Here are three Sublime Text snippets for you to use:. 1) To create a snippet, go to Tools New Snippet. Now start typing “view”. 1) Lets create a Fil...
codebelt.com
Javascript | codeBelt
http://www.codebelt.com/category/javascript
Grab the RSS feed. Archive for the ‘JavaScript’ Category. How To Write JavaScript Classes. Posted on October 9th, 2014 Filed under JavaScript. Templates Snippets in your IDE. Posted on October 9th, 2014 Filed under JavaScript. Compile JSON files into Javascript Tutorial. Posted on July 17th, 2013 Filed under JavaScript. Single Page JavaScript Application Workflow. Posted on June 23rd, 2013 Filed under JavaScript. YUIDoc JavaScript Documentation Tutorial GruntJS. EaselJS with GreenSock Tweenlite TweenMax.