Compare commits

..

2 Commits
0.3.0 ... 0.4.0

Author SHA1 Message Date
Kristoffer Lind
31e9be5220 Merge pull request #5 from qlik-oss/feature/QPE-575-multi-load-babel
[QPE 575] Load babel only once for a page
2019-02-07 10:43:22 +01:00
Balazs Gobel
462b4a13a2 Load babel only once for a page
- Fixed when having multiple visualisations on one page
- Babel will load only once
2019-02-01 12:22:25 +01:00

View File

@@ -1,8 +1,11 @@
import '@babel/polyfill';
import paint from './paint';
import definition from './definition';
import './main.less';
if (!window._babelPolyfill) { // eslint-disable-line no-underscore-dangle
require('@babel/polyfill'); // eslint-disable-line global-require
}
export default {
controller: [
'$scope',