jackfranklin/gulp-load-plugins — pull request #18 by nfroidure (2014-03-26 12:19:00+00:00)
Title: Using getters to lazy load modules

I faced an issue by using this plugin and gulp-insert.

Indeed, gulp-insert doens't expose a function but several in an hash.

This commit fixes the issue by using Object.defineProperty.

Unfortunately, i had to remove some test since it isn't possible enymaroe to test if the property contains the "wrapping" function or the plugin one.