Skip to content

Commit

Permalink
Merge pull request #272 from halfnelson/fix/Repl
Browse files Browse the repository at this point in the history
1.0.2 Fix repl error
  • Loading branch information
halfnelson authored Feb 3, 2022
2 parents ec6d6b3 + 78e9439 commit a7b758b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.2]
- Fix detection of external renderer when being bundled by REPL

## [1.0.1]
- change appendChild logic to match other Nativescript flavours

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-native",
"version": "1.0.1",
"version": "1.0.2",
"description": "Svelte integration for NativeScript",
"private": true,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/dom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function initializeLogger() {

export function initializeDom() {
initializeLogger();
if (__UI_USE_EXTERNAL_RENDERER__) {
if (typeof __UI_USE_EXTERNAL_RENDERER__ != "undefined" && __UI_USE_EXTERNAL_RENDERER__) {
} else {
registerNativeElements();
}
Expand Down

0 comments on commit a7b758b

Please sign in to comment.