Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This is a demonstration of how to structure code in a client-side web project.

The app just adds 1 and 1 and displays the result on the page.

We are trying to model the code into independent modules and spread it to multiple files. In the first step we are using the module pattern and publish each module to the global namespace. This is a simple approach that does not need any additional tools such as RequireJS or Webpack.

About

How to structure browser JavaScript code

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages