sym3tri/hubalog — Issue #24: Create AMD wrapper for Handlerbars.js
Author: armount
Created: 2012-02-06 05:13:08+00:00
State: open
Labels: Task

Right now we are hacking AMD support for Handlebars by not specifying the parameter in the define function. This allows Handlebars to load into the global scope as it normally would and our parameter isn't there to re-scope the Handlebars variable to null (since it failed to load through AMD normally). We need to wrap the lib in the proper AMD/RequireJS trappings. I'm wondering if we should fork Handlebars, create an AMD wrapper and submit a pull request to them? At least we could link to our fork for the submodule if nothing else.