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:
committed by
Kasper Nilsson
parent
500f7f2348
commit
634596af8a
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user