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

What Is The Benefit Of A 'promise' Abstraction In Commonjs?

I'm reading this article and the section on the promise abstraction seems a little overly compl… Read more What Is The Benefit Of A 'promise' Abstraction In Commonjs?

How Are Umd And Commonjs (cjs) Package Folders Different, And Which Should I Use?

I installed reactjs and react-dom like this with package.json 'dependencies': { … Read more How Are Umd And Commonjs (cjs) Package Folders Different, And Which Should I Use?

How To Solve Circular Dependency In Require.js?

Basically, the idea is that 'sub' module creates an object, and that object should be part … Read more How To Solve Circular Dependency In Require.js?

How To Browserify A Browserified Module?

The title seems confusing but I'll give an example. Let's say I create a module that uses E… Read more How To Browserify A Browserified Module?

Requiring External Javascript File

After reading all the relevant answers in SO and posts in the Appcelerator forums I still can't… Read more Requiring External Javascript File