Skip to content

Commit

Permalink
upgrade hub
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim de Beer committed Nov 28, 2016
1 parent e29e9ed commit 9688866
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
},
"dependencies": {
"@vigour-io/css": "^2.0.5",
"bubleify": "0.6.0",
"brisky": "^1.3.6",
"postcssify": "^2.6.2",
"dom-nav": "^1.0.3",
"brisky-events": "^1.3.7",
"brisky-hub": "^1.1.9",
"bubleify": "0.6.0",
"dom-nav": "^1.0.3",
"postcssify": "^2.6.2",
"vigour-state": "^4.8.2",
"vigour-util": "^4.0.2",
"brisky-hub": "^1.1.8"
"vigour-util": "^4.0.2"
},
"devDependencies": {
"budo": "^9.2.1",
"pre-commit": "^1.1.3",
"standard": "^8.5.0",
"vigour-doc": "^1.1.6",
"stylelint": "^7.5.0",
"stylelint-config-standard": "^14.0.0"
"stylelint-config-standard": "^14.0.0",
"vigour-doc": "^1.1.6"
},
"homepage": "https://github.com/vigour-io/brisky-examples",
"contributors": [
Expand Down
4 changes: 3 additions & 1 deletion search/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ module.exports = {
}

function getMovies (url, state, next, cache) {
http.get(url, res => {
const req = http.get(url, res => {
var data = ''
res.on('error', err => state.root.emit('error', err))
res.on('data', chunk => {
if (cache) { cache.write(chunk) }
data += chunk
Expand All @@ -104,6 +105,7 @@ function getMovies (url, state, next, cache) {
}
})
})
req.on('error', err => state.root.emit('error', err))
}

function parseMovies (data, state) {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -809,9 +809,9 @@ brisky-get-reference@^1.0.0:
dependencies:
bubleify "^0.5.1"

brisky-hub@^1.1.8:
version "1.1.8"
resolved "https://registry.yarnpkg.com/brisky-hub/-/brisky-hub-1.1.8.tgz#693d1d0a7552916e996ad906476c368b01c0850e"
brisky-hub:
version "1.1.9"
resolved "https://registry.yarnpkg.com/brisky-hub/-/brisky-hub-1.1.9.tgz#58618ccb618c20530db30cd4b401662b7acf64b8"
dependencies:
bubleify "0.5.1"
clocksy "^1.1.0"
Expand Down

0 comments on commit 9688866

Please sign in to comment.