Skip to content

Commit

Permalink
Use webcomponents-lite.js for Edge, webcomponentsjs/issues/575
Browse files Browse the repository at this point in the history
  • Loading branch information
Limon Monte committed Feb 2, 2017
1 parent 2395da2 commit 953491f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
WCT._config.environmentScripts.push('iron-test-helpers/mock-interactions.js');
WCT._config.environmentScripts.push(location.href.replace(/[^/]+$/, '') + 'mock-touch-interactions.js');

WCT._config.environmentScripts.push('webcomponentsjs/webcomponents.js');
var edge = window.navigator.userAgent.indexOf('Edge') > -1; // webcomponentsjs/issues/575
WCT._config.environmentScripts.push(edge ? 'webcomponentsjs/webcomponents-lite.js' : 'webcomponentsjs/webcomponents.js');

WCT.loadSuites([
'vaadin-combo-box-properties.html',
Expand Down

0 comments on commit 953491f

Please sign in to comment.