Example #1
0
    def _includePresentationFiles(self):
        info = HelperMaKaCInfo().getMaKaCInfoInstance()

        if info.isDebugActive():
            return ['js/presentation/Loader.js']
        else:
            return ['js/presentation/pack/Presentation.pack.js']
Example #2
0
    def _includeJSPackage(self, packageName, module = 'indico'):
        info = HelperMaKaCInfo().getMaKaCInfoInstance()

        if info.isDebugActive():
            return ['js/%s/%s/Loader.js' % (module, packageName)]
        else:
            return ['js/%s/pack/%s.pack.js' % (module, packageName)]