Skip to content Skip to sidebar Skip to footer
Showing posts with the label Module Pattern

Module Pattern- How To Split The Code For One Module Into Different Js Files?

For the module pattern, I'm doing something like: (function(namespace) { // tons of code … Read more Module Pattern- How To Split The Code For One Module Into Different Js Files?

Implementing Module Pattern In Javascript With Dependency On Jquery

What is the best way to implement module pattern, while the module code depends on third party libr… Read more Implementing Module Pattern In Javascript With Dependency On Jquery

How To Avoid Manually Caching A Request That Returned An Error?

I've created a module (following Javascript's Module Pattern) that makes an http request, c… Read more How To Avoid Manually Caching A Request That Returned An Error?

Javascript Module Pattern Introduced In Tgp Deentityify Method - Why Is This Pattern Necessary?

Crockford introduces a pattern in the deentityify method to create a module. He claims: The modul… Read more Javascript Module Pattern Introduced In Tgp Deentityify Method - Why Is This Pattern Necessary?