JavaScript and different ***Script

Today I'll just share my opinion so, no useful information bellow 🙂 There are a lot of discussions around TypeScript, CoffeeScript and other languages translated to JS. Let me add several words to this "holly war":) I was codding for a couple of months with TypeScript. It was complex UI with Knockout.js and Durandal. Yesterday … Continue reading JavaScript and different ***Script

Explicit call to RequireJS in TypeScript

I'm working on mobile application with Apache Cordova (http://cordova.apache.org) technology. And one of the tasks was to load JSON localization file from content folder. First idea and actually most correct (as for me) is to load file with RequireJS text plugin (https://github.com/requirejs/text). Plugin allows to load text file in the same way as usual modules … Continue reading Explicit call to RequireJS in TypeScript

Fornt-end with Knockout.js, require.js and TypeScript

Let's talk about how to correctly organize front-end with Knockout.js require.js and TypeScript. The problem If we will read TypeScript handbook we will find a lot information about how to load modules with AMD and require.js, and everywhere in samples we will find something like this But in real application we always have some folder … Continue reading Fornt-end with Knockout.js, require.js and TypeScript