enthought / tabs

Default Repo description from terraform module
0 stars 0 forks source link

Major refactor of javascript #32

Closed johntyree closed 9 years ago

johntyree commented 9 years ago

This is a massive refactor of the client code, splitting most of it out into modules so that everything is not running rampant in the global namespace.

I'm still iterating on it.

http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html

Features picked up along the way in anticipation of others:

johntyree commented 9 years ago

I'm calling a {date: <Date>, vectors: [polylines]} object a "vector frame" and referring to a data snapshot at a particular date as a "frame."

johntyree commented 9 years ago

Ok, as it is I've isolated basically everything down to setLatLngs in leaflet itself. It's not going to get any better.

johntyree commented 9 years ago

:scream: here we go.....

kjordahl commented 9 years ago

:+1: Nice step forward.

kjordahl commented 9 years ago

LGTM, merging.