Skip to content

A simple conversion of an IIFE module to AMD module(s). The purpose of this project is simply to illustrate what differnt module patterns might look like. Springy <http://getspringy.org> is a cool little force directed graph layout algorithm of which I have no affiliation. It's code was just laid out in such a way that I thought it would be usef…

smcelhos/Springy_AMD_Conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Springy AMD Conversion

A simple conversion of an IIFE module to AMD module(s). The purpose of this project is simply to illustrate what differnt module patterns might look like. Hopefully I can use it to help get some junior team members upto speed, or otherwise onboard individuals who are only familiar with legacy code.

Springy is a cool little force directed graph layout algorithm of which I have no affiliation. It's code was just laid out in such a way that I thought it would be useful in illustrating what I am attempting to illustrate. However, I'd suggest checking it out.

I've added additional examples, again for illustrative purposes. This time using dojo declare. Demonstrates how declare abstract's away some of the prototypical natural of javascript OO, making it more familiar to classical OO developers. More code seems to look like this now a days, so seemed like a good include.

About

A simple conversion of an IIFE module to AMD module(s). The purpose of this project is simply to illustrate what differnt module patterns might look like. Springy <http://getspringy.org> is a cool little force directed graph layout algorithm of which I have no affiliation. It's code was just laid out in such a way that I thought it would be usef…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published