Skip to content

Commit 1e14385

Browse files
committed
bump release
1 parent 8e44f4c commit 1e14385

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dist/presenta.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// https://lib.presenta.cc v1.0.21 - BSD-3-Clause License - Copyright 2022 Fabio Franchino
1+
// https://lib.presenta.cc v1.0.22 - BSD-3-Clause License - Copyright 2022 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.21";
8+
var version = "1.0.22";
99

1010
function styleInject(css, ref) {
1111
if ( ref === void 0 ) ref = {};
@@ -1091,6 +1091,7 @@
10911091

10921092
const script = function (element, mod, config) {
10931093
if (!mod.forceRun && config._mode === 'preview') return;
1094+
if (!mod.code) return;
10941095
if (config.contextType !== 'scene') return;
10951096
const id = '_JSMOD_' + parseInt(Math.random() * 10000);
10961097
const that = this;

0 commit comments

Comments
 (0)