File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 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 = { } ;
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 ;
You can’t perform that action at this time.
0 commit comments