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