예제 #1
0
파일: base.py 프로젝트: lukasnellen/indico
    def _includePresentationFiles(self):
        info = HelperMaKaCInfo().getMaKaCInfoInstance()

        if info.isDebugActive():
            return ['js/presentation/Loader.js']
        else:
            return ['js/presentation/pack/Presentation.pack.js']
예제 #2
0
파일: base.py 프로젝트: lukasnellen/indico
    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)]