Skip to content

Commit 7451a6e

Browse files
committed
repair save -> build subscription
1 parent 1eb5e0b commit 7451a6e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/subscriptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var Subscriptions = (function () {
1515
}));
1616
atom.workspace.observeTextEditors(function (editor) {
1717
_this.subscriptions.add(editor.onDidSave(function () {
18-
if (store.getState().window) {
18+
if (store.getState().windowToggle) {
1919
store.dispatch(actions_1.tutorialBuild());
2020
store.dispatch(actions_1.tutorialLoad());
2121
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"atom-plugin-command-line": "1.0.2",
25-
"coderoad-cli": "0.6.0",
25+
"coderoad-cli": "0.7.1",
2626
"core-coderoad": "0.4.0",
2727
"lodash.debounce": "4.0.6",
2828
"material-ui": "0.15.0",

src/subscriptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default class Subscriptions {
1717
atom.workspace.observeTextEditors((editor: AtomCore.IEditor) => {
1818
this.subscriptions.add(
1919
editor.onDidSave(() => {
20-
if (store.getState().window) {
20+
if (store.getState().windowToggle) {
2121
store.dispatch(tutorialBuild());
2222
store.dispatch(tutorialLoad());
2323
}

0 commit comments

Comments
 (0)