Skip to content

Commit

Permalink
Fix merged text not shown when all variables are undefined at start
Browse files Browse the repository at this point in the history
Signed-off-by: Yukino Song <[email protected]>
  • Loading branch information
ClassicOldSong committed Jul 23, 2023
1 parent b701a3e commit e5ba8da
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 33 deletions.
50 changes: 23 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ef-core",
"version": "0.17.4",
"version": "0.17.5",
"description": "Core of ef.js (without parser)",
"main": "dist/ef-core.min.js",
"module": "src/ef-core.js",
Expand Down Expand Up @@ -28,15 +28,15 @@
},
"homepage": "https://ef.js.org",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-eslint": "^9.0.4",
"@rollup/plugin-node-resolve": "^15.1.0",
"chalk": "^5.3.0",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"eslint": "^8.44.0",
"eslint": "^8.45.0",
"jsdoc": "^4.0.2",
"rollup": "^3.26.0",
"rollup": "^3.26.3",
"rollup-plugin-browsersync": "^1.3.3",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-progress": "^1.1.2"
Expand Down
3 changes: 2 additions & 1 deletion src/ef-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const create = (ast, name) => {
return EFComponent
}

let coreVersion = '0.17.4'
let coreVersion = '0.17.5'

if (process.env.NODE_ENV !== 'production') {
coreVersion = `${coreVersion}+debug`
Expand Down Expand Up @@ -165,6 +165,7 @@ if (process.env.NODE_ENV !== 'production') {
export {
create,
mapAttrs,
EFBaseComponent,
EFNodeWrapper,
EFTextFragment,
Fragment,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const initDataNode = (ctx, {parentNode, dataNode, handlerNode, subscriberNode, _
})

// Handle class data
if (typeof dataNode[_key] !== 'undefined') queue(applyQueue)
queue(applyQueue)
}

const initBinding = (ctx, {bind}) => {
Expand Down

0 comments on commit e5ba8da

Please sign in to comment.