PolyGerrit: Use es5 syntax instead of es6

es6 is currently breaking in browsers so lets use es5 for now.

Change-Id: I918c79ceb24490e85870a8b30bf4506acb54c391
This commit is contained in:
Paladox none
2017-05-04 15:57:37 +00:00
committed by Kasper Nilsson
parent 500f7f2348
commit 634596af8a

View File

@@ -22,9 +22,9 @@
},
_import: function(url) {
return new Promise((resolve, reject) => {
return new Promise(function(resolve, reject) {
this.importHref(url, resolve, reject);
});
}.bind(this));
},
_applyStyle: function(name) {