Skip to content

Commit

Permalink
Up hub.js and removed obsolete options
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Antoni committed Jun 18, 2013
1 parent 49393a5 commit 13d221e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changes

## v0.8.0

- Updated hub.js to 0.13.0
- Removed `options` and `Options`

## v0.7.0

- Updated hub.js to 0.12.0
Expand Down
10 changes: 4 additions & 6 deletions lib/licy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ licy.plugin = function (name, start) {
licy.emit(destroyEvent, this.callback());
});

var queue = [];
var queue = [];
var queueListener = function () {
if (this.event !== startEvent) {
queue.push(this.callback());
Expand Down Expand Up @@ -176,12 +176,10 @@ licy.destroyAll = function (callback) {
licy.reset = function () {
licy.removeAllListeners();
destroyOrder = [];
started = false;
started = false;
};

licy.listen = hub.listen;
licy.View = hub.View;
licy.options = hub.options;
licy.Options = hub.Options;
licy.listen = hub.listen;
licy.View = hub.View;

module.exports = licy;
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "licy",
"version" : "0.7.0",
"version" : "0.8.0",
"description" : "Asynchronous dependency and lifecycle management for Node and the browser",
"keywords" : ["lifecycle", "dependency", "node", "browser"],
"author" : "Maximilian Antoni (http://maxantoni.de)",
Expand All @@ -17,7 +17,7 @@
"url" : "https://github.com/mantoni/licy.js.git"
},
"dependencies" : {
"hubjs" : "~0.12.0"
"hubjs" : "~0.13.0"
},
"devDependencies" : {
"utest" : "~0.0.8",
Expand Down
12 changes: 0 additions & 12 deletions test/test-static.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,13 @@ var licy = require('../lib/licy');

test('static', {


'exposes listen': function () {
assert.strictEqual(licy.listen, hubjs.listen);
},


'exposes View': function () {
assert.strictEqual(licy.View, hubjs.View);
},


'exposes options': function () {
assert.strictEqual(licy.options, hubjs.options);
},


'exposes Options': function () {
assert.strictEqual(licy.Options, hubjs.Options);
}


});

0 comments on commit 13d221e

Please sign in to comment.