Vytautas Jakutis

Results 7 comments of Vytautas Jakutis

In strict mode `this` [at line 7](https://github.com/fat/bean/blob/master/src/bean.js#L7) is `undefined` (not a `window` and thus [context[name]](https://github.com/fat/bean/blob/master/src/bean.js#L10) throws) and there is no way to fix it without modifying the source code. I...

As I see modules by @ded (bonzo, valentine, domready, klass, reqwest): - everyone of them have essentially the same top 5 lines as bean - neither of them has `.noConflict()`...

Another way to fix this issue just popped into my head - 0c09d5f5dbc17467e1f1fa9125f79e6755cd699e - this is the order that @umdjs uses. This would work, because I could make my module...

@ryanve, the problem with current [/src/bean.js](https://github.com/fat/bean/blob/0d86597af4cd7265cbf0dfbef8934eb85b2dd152/src/bean.js) is that when it is evaluated in strict mode (with `"use strict";`) there is no way for `context` inside `definition` be anything other than...

Okey, rewrote the commit message

@Lefucjusz thanks, added the description.