Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
[fixed] updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thealjey committed Jul 2, 2016
1 parent 0f8be63 commit c5b2145
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 19 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ rules:
babel/object-shorthand: 2
babel/arrow-parens: [ 2, as-needed ]
babel/flow-object-type: 2
babel/func-params-comma-dangle: 1
babel/func-params-comma-dangle: 2

# lodash
lodash/callback-binding: 2
Expand Down Expand Up @@ -124,7 +124,6 @@ rules:
no-loop-func: 2
no-magic-numbers: [ 2, { ignore: [ -1, 0, 1, 2 ] } ]
no-multi-str: 2
no-native-reassign: 2
no-new-func: 2
no-new-wrappers: 2
no-new: 2
Expand All @@ -142,7 +141,6 @@ rules:
no-useless-concat: 2
no-useless-escape: 2
no-useless-computed-key: 2
no-unsafe-finally: 2
no-void: 2
no-warning-comments: 2
no-with: 2
Expand Down Expand Up @@ -225,3 +223,4 @@ rules:
template-curly-spacing: 2
unicode-bom: 2
rest-spread-spacing: 2
comma-dangle: 2
2 changes: 1 addition & 1 deletion docs/quicksearch.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/watch.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="page-title">Source: watch.js</h1>
}

if (watchResp.warning) {
console.log('warning: ', watchResp.warning);
console.log('Warning:', watchResp.warning);
}

client.command(['clock', watcher], (clockErr, clockResp) => {
Expand All @@ -145,7 +145,7 @@ <h1 class="page-title">Source: watch.js</h1>
since: clockResp.clock
}], subscribeErr => {
if (subscribeErr) {
console.error('failed to subscribe: ', subscribeErr);
console.error('Failed to subscribe:', subscribeErr);
}
});

Expand Down
4 changes: 2 additions & 2 deletions lib/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function watch(dir, type, callback) {
}

if (watchResp.warning) {
console.log('warning: ', watchResp.warning);
console.log('Warning:', watchResp.warning);
}

client.command(['clock', watcher], function (clockErr, clockResp) {
Expand All @@ -63,7 +63,7 @@ function watch(dir, type, callback) {
since: clockResp.clock
}], function (subscribeErr) {
if (subscribeErr) {
console.error('failed to subscribe: ', subscribeErr);
console.error('Failed to subscribe:', subscribeErr);
}
});

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"autoprefixer": "^6.3.6",
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-eslint": "^6.0.5",
"babel-eslint": "^6.1.0",
"babel-loader": "^6.2.4",
"babel-plugin-transform-class-properties": "^6.10.2",
"babel-plugin-transform-member-expression-literals": "^6.8.0",
Expand All @@ -69,12 +69,12 @@
"babel-preset-es2015-loose": "^7.0.0",
"babel-preset-es2015-loose-native-modules": "^1.0.0",
"babel-preset-es2015-native-modules": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-2": "^6.5.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-2": "^6.11.0",
"babel-runtime": "^6.9.2",
"cheerio": "^0.20.0",
"codemirror": "^5.16.0",
"eslint": "^2.13.1",
"eslint": "^3.0.0",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-flow-vars": "^0.4.0",
"eslint-plugin-lodash": "^1.9.2",
Expand All @@ -83,7 +83,7 @@
"ink-docstrap": "^1.2.1",
"js-yaml": "^3.6.1",
"jsdoc": "^3.4.0",
"jsdom": "^9.2.1",
"jsdom": "^9.3.0",
"json-loader": "^0.5.4",
"lodash": "^4.13.1",
"memory-fs": "^0.3.0",
Expand All @@ -92,7 +92,7 @@
"node-sass-import-once": "^1.2.0",
"null-loader": "^0.1.1",
"postcss": "^5.0.21",
"react": "^15.1.0",
"react": "^15.2.0",
"react-hot-loader": "^1.3.0",
"remarkable": "^1.6.2",
"tiny-lr": "^0.2.1",
Expand All @@ -105,7 +105,7 @@
"isparta": "^4.0.0",
"mocha": "^2.5.3",
"mt-changelog": "^0.6.2",
"proxyquire": "^1.7.9",
"proxyquire": "^1.7.10",
"release-script": "^1.0.2",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions src/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function watch(dir: string, type: string, callback: WatchCallback) {
}

if (watchResp.warning) {
console.log('warning: ', watchResp.warning);
console.log('Warning:', watchResp.warning);
}

client.command(['clock', watcher], (clockErr, clockResp) => {
Expand All @@ -61,7 +61,7 @@ export function watch(dir: string, type: string, callback: WatchCallback) {
since: clockResp.clock
}], subscribeErr => {
if (subscribeErr) {
console.error('failed to subscribe: ', subscribeErr);
console.error('Failed to subscribe:', subscribeErr);
}
});

Expand Down
4 changes: 2 additions & 2 deletions test/watch.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe('watch', () => {
});

it('prints a warning on screen', () => {
expect(console.log).calledWith('warning: ', 'a warning message');
expect(console.log).calledWith('Warning:', 'a warning message');
});

});
Expand Down Expand Up @@ -192,7 +192,7 @@ describe('watch', () => {
});

it('prints an error on screen', () => {
expect(console.error).calledWith('failed to subscribe: ', 'subscribe exception');
expect(console.error).calledWith('Failed to subscribe:', 'subscribe exception');
});

});
Expand Down

0 comments on commit c5b2145

Please sign in to comment.