Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
Fixed: should pass data to the handler in event.data when the event i…
Browse files Browse the repository at this point in the history
…s triggered.
  • Loading branch information
marcomontalbano committed Jul 15, 2017
1 parent 35aff81 commit 2479b44
Show file tree
Hide file tree
Showing 8 changed files with 882 additions and 130 deletions.
5 changes: 3 additions & 2 deletions dist/jquery.jcreate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* jquery.jcreate.js v1.2.1
* jquery.jcreate.js v1.2.2
* Marco Montalbano © 2011-2017 - https://marcomontalbano.com
* ----------------------------------------------------------
*/
Expand Down Expand Up @@ -44,6 +44,7 @@
$currentTarget: $this,
delegateTarget: _createItem.delegateTarget,
$delegateTarget: _createItem.$delegateTarget,
data: _createItem.handleObj.data,
options: function(key) {
return _utility.filterDataByKey($this.data(), _utility.camelize(key));
}
Expand Down Expand Up @@ -92,7 +93,7 @@
_default: function(event, data) {},
handle: function(event, data) {},
utility: _utility,
version: "1.2.1"
version: "1.2.2"
};
$.fn.append = function() {
return _domManip.apply(append.apply(this, arguments), arguments);
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.jcreate.min.js

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

2 changes: 1 addition & 1 deletion dist/jquery.jcreate.min.js.map

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

5 changes: 3 additions & 2 deletions dist/jquery.jcreate.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}(this, function (jquery) {

/**
* jquery.jcreate.js v1.2.1
* jquery.jcreate.js v1.2.2
* Marco Montalbano © 2011-2017 - https://marcomontalbano.com
* ----------------------------------------------------------
*/
Expand Down Expand Up @@ -60,6 +60,7 @@
$currentTarget: $this,
delegateTarget: _createItem.delegateTarget,
$delegateTarget: _createItem.$delegateTarget,
data: _createItem.handleObj.data,
options: function(key) {
return _utility.filterDataByKey($this.data(), _utility.camelize(key));
}
Expand Down Expand Up @@ -108,7 +109,7 @@
_default: function(event, data) {},
handle: function(event, data) {},
utility: _utility,
version: "1.2.1"
version: "1.2.2"
};
$.fn.append = function() {
return _domManip.apply(append.apply(this, arguments), arguments);
Expand Down
Loading

0 comments on commit 2479b44

Please sign in to comment.