Named exports from ol/css module

This commit is contained in:
Marc Jansen committed 2017-12-19 11:38:56 +01:00
1 parent 1aa7313a7b
commit a7c5897bdb
14 files changed
+40 -46

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import _ol_css_ from '../../../src/ol/css.js';
import {getFontFamilies} from '../../../src/ol/css.js';
describe('ol.css', function() {
@@ -25,7 +25,7 @@ describe('ol.css', function() {
cases.forEach(function(c, i) {
it('works for ' + c.font, function() {
var families = _ol_css_.getFontFamilies(c.font);
var families = getFontFamilies(c.font);
if (c.families === null) {
expect(families).to.be(null);
return;