Skip to content

Commit 3d0bf83

Browse files
committed
🎉 v1.0.0
1 parent b4e5dea commit 3d0bf83

File tree

11 files changed

+10
-20
lines changed

11 files changed

+10
-20
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ Sparks is still under development, . You can get the latest release [here](https
2121
### Todos
2222

2323
- [x] Fix image's width in preview area.
24-
- [ ] Add screenshots to README.
24+
- [x] Add screenshots to README.
2525
- [x] Configure `WordCounter` to only count alphanumeric words.
2626
- [ ] Add Wiki.
27-
- [ ] Add more editor & preview themes.
28-
- [ ] Re-configure how the `Preview` component uses themes.
2927

3028
### Tech Stack
3129

app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const {app, BrowserWindow, Menu} = require('electron');
2-
const template = require('./main/menu/template');
2+
const template = require('./menu/template');
33
const fs = require('fs');
44
const path = require('path');
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const {createWindow} = require('../../../utils/createWindow');
1+
const {createWindow} = require('../../utils/createWindow');
22

33
const file = {
44
label: 'File',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const help = {
77
label: 'About',
88
click: (menuItem, browserWindow) => {
99
let aboutWindow = new BrowserWindow({width: 500, height: 280, resizable: false});
10-
aboutWindow.loadURL(`file://${__dirname}/../../../about.html`);
10+
aboutWindow.loadURL(`file://${__dirname}/../../about.html`);
1111
}
1212
},
1313
{

lib/Root.js

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
33
import { Provider } from 'react-redux';
4-
import store from '../lib/store';
5-
import Root from '../lib/Root';
4+
import store from './store';
5+
import AppContainer from './containers/AppContainer';
6+
import './styles/main.css';
67

78
ReactDOM.render(
89
<Provider store={store}>
9-
<Root />
10+
<AppContainer />
1011
</Provider>,
1112
document.getElementById('root')
1213
);

lib/ipc/io/fileIO.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function fileIO (appContainer) {
99
// ===============================
1010
ipcRenderer.on('sparks::open-file', (event, arg) => {
1111
const currentSaveState = appContainer.getInfo().saved;
12-
// Check if a file is dropped
12+
// Check if a specific file presents
1313
if (arg) {
1414
const fileData = fs.readFileSync(arg, 'utf8');
1515
const fileName = path.basename(arg);

0 commit comments

Comments
 (0)