Skip to content Skip to sidebar Skip to footer
Showing posts with the label Requirejs

Use A Typescript Module/class In The Browser And In The Server (node.js)

How would I use the same typescript class or module in a client side javascript file and in a serve… Read more Use A Typescript Module/class In The Browser And In The Server (node.js)

Using Amd Module As An Aurelia Viewmodel

I was playing with Aurelia and seems pretty nice, I use Durandal for some projects and this definit… Read more Using Amd Module As An Aurelia Viewmodel

Adding Requirejs Module That Uses Jquery On A Page That Already Has Jquery As A Global

I have an add-on to an application (call it appX) that allows users to create their own customizati… Read more Adding Requirejs Module That Uses Jquery On A Page That Already Has Jquery As A Global

Load Stripe.js With Require.js

I'm having trouble loading Stripe.js with Require.js. My setup looks a bit like this requirejs.… Read more Load Stripe.js With Require.js

Creating A Reusable Requirejs Library

Given the following simplified scenario, how could I best construct my reusable component so that i… Read more Creating A Reusable Requirejs Library

Is It A Bad Practice To Use The Requirejs Module As A Singleton?

I plan to use the following pattern to make use of the requireJS based module to act as a singleton… Read more Is It A Bad Practice To Use The Requirejs Module As A Singleton?