Skip to content

Commit

Permalink
Render loaded boolean only
Browse files Browse the repository at this point in the history
  • Loading branch information
Lcfvs committed May 2, 2018
1 parent 98d268c commit dc949ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ function onElement (element) {
function onListener (listener) {
const queue = this
const element = queue.element
const loaded = queue.loaded
const loaded = queue.loaded || false
const selector = queue.selector

anticore.debug.onMatch(selector, listener, element, loaded)
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": "anticore",
"version": "2.11.0",
"version": "2.11.1",
"description": "A generic living DOM library to simplify your client code, like with its easiest middleware manager for AJAX requests.",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit dc949ab

Please sign in to comment.