Skip to content

Commit

Permalink
Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ClassicOldSong committed Sep 4, 2017
1 parent 458a210 commit 4afa54c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ef-core",
"version": "0.4.1-beta.1",
"version": "0.4.1-beta.2",
"description": "Core of ef.js (without parser)",
"main": "dist/ef-core.min.js",
"module": "src/ef-core.js",
Expand Down
1 change: 1 addition & 0 deletions src/lib/utils/render-query.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const execDomModifications = () => {
}

const execUserQuery = () => {
if (userQuery.length === 0) return
const userFnQuery = ARR.unique(userQuery)
for (let i of userFnQuery) i()
if (ENV !== 'production') console.info('[EF]', `${userQuery.length} user operation(s) cached, ${userFnQuery.length} executed.`)
Expand Down

0 comments on commit 4afa54c

Please sign in to comment.