Evaluate refactoring F2.js from singleton to fill-in-the-blank-javascript-pattern #29

Closed
markhealey opened this Issue Feb 14, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@markhealey
Member

markhealey commented Feb 14, 2013

F2.js creates a singleton on the window and you can't create more than one instance of window.F2... which would allow n F2 containers within a single page. This issue can track our evaluation of changing the current pattern to something else—perhaps a JS pattern that more closely follows AMD, coupled with a simultaneous replacement of F2's internal dependency loader.

@markhealey

This comment has been minimized.

Show comment
Hide comment
@markhealey

markhealey May 24, 2013

Member

F2 can be used as an AMD module today and we added support for that in 1.1.

Member

markhealey commented May 24, 2013

F2 can be used as an AMD module today and we added support for that in 1.1.

@markhealey markhealey closed this May 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment