ibm-js/delite — pull request #313 by clmath (2014-10-13 15:04:43+00:00)
Title: Use local require in delite/handlebars write method instead of global require

Since https://github.com/ibm-js/grunt-amd-build/commit/664a58e758a959b611d1b57204503f0fb323a33a, `grunt-amd-build` is creating one requirejs context by layer. Because of that, the local require and the global require are no longer equivalent and to achieve layer isolation, plugins should only use the local require.

This commit changes the global require from [ibm-js/delite/handlebars.js#L306 ](https://github.com/ibm-js/delite/blob/master/handlebars.js#L306) to a local require.