bem/bem-xjst — pull request #15 by tadatuta (2014-07-09 08:39:55+00:00)
Title: Pass modules deps to wrap method

BEMTREE expects to have `vow` module as `Vow` variable so we need possibility to pass both names separately.

The way to use this API in techs:

```js
return BEMHTML.generate(sources, {
wrap : true,
exportName : exportName,
optimize : optimize,
cache : optimize && process.env[exportName + '_CACHE'] === 'on',
modulesDeps : this.getModulesDeps(), // ['vow']
modulesProvidedDeps : this.getModulesProvidedDeps() // ['Vow']
});
```

// cc @veged @indutny