util.js 305 Bytes
Newer Older
John Punzalan's avatar
John Punzalan committed
1 2 3 4 5 6 7 8 9 10 11 12
(function () {
    TaxonomyTranslation.util = {
        langCodes: [],
        init: function () {
            _.each(TaxonomyTranslation.data.activeLanguages, function (lang, code) {
                TaxonomyTranslation.util.langCodes.push(code);
            });

        }

    }
})(TaxonomyTranslation);