Fair enough.


On Tue, Apr 15, 2014 at 9:58 AM, Will Daly <notifications@github.com> wrote:

> In apps/openassessment/xblock/static/js/src/oa_base.js:
>
> > @@ -6,6 +6,12 @@ if (typeof OpenAssessment == "undefined" || !OpenAssessment) {
> >  }
> >
> >
> > +// Stub gettext if the runtime doesn't provide it
> > +if (typeof window.gettext === 'undefined') {
>
> It's a defensive tactic against any runtime that doesn't support gettext(),
> as well as a way to run the code in the unit tests without including an
> additional dependency with the stub. We could possibly move this to a
> separate file and configure the JS minifier to always include it first, but
> I'm a little hesitant to couple the gettext stuff with the minification
> process.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-ora2/pull/275/files#r11634916>
> .
>