[REL] v2.1.2

# v2.1.2

 - [FIX] t-out: does not crash when outputting null
 - [FIX] playground: fix name of playground component
 - [FIX] playground: use ES owl version instead of iife
 - [IMP] playground: give a name so it is more explicit in devtools
 - [REF] github page: move page to docs folder on master branch
 - [IMP/FIX] playground: fix and improve various things
This commit is contained in:
Géry Debongnie
2023-04-24 16:29:43 +02:00
parent f9d810a42f
commit 63128b7d29
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -3017,7 +3017,7 @@ class LazyValue {
* Safely outputs `value` as a block depending on the nature of `value`
*/
function safeOutput(value, defaultValue) {
if (value === undefined) {
if (value === undefined || value === null) {
return defaultValue ? toggler("default", defaultValue) : toggler("undefined", text(""));
}
let safeKey;
@@ -5920,6 +5920,6 @@ TemplateSet.prototype._compileTemplate = function _compileTemplate(name, templat
export { App, Component, EventBus, OwlError, __info__, blockDom, loadFile, markRaw, markup, mount, onError, onMounted, onPatched, onRendered, onWillDestroy, onWillPatch, onWillRender, onWillStart, onWillUnmount, onWillUpdateProps, reactive, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, validate, validateType, whenReady, xml };
__info__.date = '2023-04-24T13:41:41.071Z';
__info__.hash = '53ce7ed';
__info__.date = '2023-04-24T14:29:32.376Z';
__info__.hash = 'f9d810a';
__info__.url = 'https://github.com/odoo/owl';