Skip to content

Commit

Permalink
v0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vitkarpov committed Jan 21, 2016
1 parent d263b2d commit 7d98f34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/jblocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var Block = function(block) {

this._addEvents();
this._setInited();
this.emit(this._getEventName('b-inited'));
this.$node.trigger('b-inited');
};

/**
Expand Down Expand Up @@ -99,7 +99,7 @@ Block.prototype.destroy = function() {
helpers.cache[this._id] = null;
this.$node.removeClass('jb-inited');
this.off();
this.emit(this._getEventName('b-destroyed'));
this.$node.trigger('b-destroyed');
};

/**
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": "jblocks",
"version": "0.3.1",
"version": "0.3.2",
"description": "Nanoframework (~ 100 lines of code!) for creating UI-components",
"author": "Vit Karpov <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 7d98f34

Please sign in to comment.