Skip to content

Commit ec61f1b

Browse files
committed
bump release
1 parent 153523f commit ec61f1b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

dist/presenta.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// https://lib.presenta.cc v1.0.8 - BSD-3-Clause License - Copyright 2021 Fabio Franchino
1+
// https://lib.presenta.cc v1.0.9 - BSD-3-Clause License - Copyright 2021 Fabio Franchino
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :
55
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Presenta = factory());
66
})(this, (function () { 'use strict';
77

8-
var version = "1.0.8";
8+
var version = "1.0.9";
99

1010
function styleInject(css, ref) {
1111
if ( ref === void 0 ) ref = {};
@@ -1158,7 +1158,6 @@ window._sdpcallbackfunc()
11581158
op,
11591159
value
11601160
} = mod;
1161-
console.log(key, config._sceneConfig.otherParams);
11621161
const prop = key.split('.').reduce((o, i) => o[i], config);
11631162
let pass = true;
11641163

@@ -1336,6 +1335,9 @@ window._sdpcallbackfunc()
13361335
if (config.font) {
13371336
fetch(config.font).then(res => {
13381337
setTimeout(compute);
1338+
}).catch(err => {
1339+
console.log('error on preload font', err);
1340+
setTimeout(compute);
13391341
});
13401342
} else {
13411343
setTimeout(compute);

0 commit comments

Comments
 (0)