Skip to content

Commit

Permalink
Release v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
s0ber committed Nov 27, 2014
1 parent 7c4ff51 commit 9a4adc4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vtree",
"version": "0.2.2",
"version": "0.2.3",
"homepage": "https://github.com/s0ber/vtree",
"authors": [
"Sergey Shishkalov <[email protected]>"
Expand Down
11 changes: 7 additions & 4 deletions build/vtree.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*! vtree (v0.2.2),
/*! vtree (v0.2.3),
Simple library for creating complicated architectures,
by Sergey Shishkalov <[email protected]>
Thu Nov 20 2014 */
Fri Nov 28 2014 */
(function() {
var modules;

Expand Down Expand Up @@ -802,11 +802,12 @@
};

Launcher.initRefreshEvent = function() {
var refreshHandler;
if (this.isRefreshEventInitialized()) {
return;
}
this.setRefreshEventAsInitialized();
return $('body').on('refresh', '*', (function(_this) {
refreshHandler = (function(_this) {
return function(e) {
var $elWithNode, node, nodeId;
e.stopPropagation();
Expand All @@ -822,7 +823,9 @@
node = _this.treeManager.nodesCache.getById(nodeId);
return _this.treeManager.refresh(node);
};
})(this));
})(this);
$('body').on('refresh', refreshHandler);
return $('body').on('refresh', '*', refreshHandler);
};

Launcher.createViewsTree = function() {
Expand Down
6 changes: 3 additions & 3 deletions build/vtree.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vtree",
"version": "0.2.2",
"version": "0.2.3",
"author": "Sergey Shishkalov <[email protected]>",
"description": "Library for automated initialization of backbone views (or whatever)",
"devDependencies": {
Expand Down

0 comments on commit 9a4adc4

Please sign in to comment.