Skip to content

Commit

Permalink
adicionando jsdoc comentários e algumas alterações
Browse files Browse the repository at this point in the history
  • Loading branch information
elvis thermo committed Jan 9, 2020
1 parent 204383f commit 2f601aa
Show file tree
Hide file tree
Showing 33 changed files with 395 additions and 48 deletions.
26 changes: 26 additions & 0 deletions jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"plugins": ["plugins/markdown","plugins/summarize"],
"recurseDepth": 10,
"source": {
"include": ["src"],
"excludePattern": "(node_modules/|docs)",
"excludePattern": "(^|\\/|\\\\/)_"
},
"sourceType": "module",
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc","closure"]
},
"templates": {
"cleverLinks": false,
"monospaceLinks": false
},
"opts": {
"template": "templates/default",
"encoding": "utf8",
"destination": "./out/",
"recurse": true,
"readme": "README.md"
}
}

2 changes: 1 addition & 1 deletion lib/jquery-3.2.1.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ function initialize () {
makeSingleInstance();

function createWindow () {
const appIcon = new Tray(__dirname+'/pages/public/css/icons/home.png');
const appIcon = new Tray(__dirname+'/src/public/css/icons/home.png');
const windowOptions = {
width: 1080,
minWidth: 680,
height: 840,
title: app.getName(),
icon:__dirname+'/pages/public/css/icons/home.png'
icon:__dirname+'/src/public/css/icons/home.png'
};
// if (process.platform === 'linux') {
// windowOptions.icon = path.join(__dirname, '/assets/app-icon/png/512.png')
Expand All @@ -49,7 +49,7 @@ function initialize () {
});

mainWindow = new BrowserWindow(windowOptions);
mainWindow.loadURL(path.join('file://', __dirname, '/pages/mainWindow.html'));
mainWindow.loadURL(path.join('file://', __dirname, '/src/mainWindow.html'));

mainWindow.on('closed', () => {
mainWindow = null
Expand Down
188 changes: 187 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
"package:win": "electron-packager . --overwrite --platform=win32 --arch=ia32 --out=out --icon=assets/app-icon/win/app.ico",
"package:linux": "electron-packager . --overwrite --platform=linux --arch=x64 --out=out",
"package:sign-exe": "signcode './out/Electron API Demos-win32-ia32/Electron API Demos.exe' --cert ~/electron-api-demos.p12 --prompt --name 'Electron API Demos' --url 'http://electron.atom.io'",
"package:installer": "node ./script/installer.js",
"package:installer": "node script-electron/installer.js",
"package:sign-installer": "signcode './out/windows-installer/ElectronAPIDemosSetup.exe' --cert ~/electron-api-demos.p12 --prompt --name 'Electron API Demos' --url 'http://electron.atom.io'",
"xpackage:mas": "./script/mas.sh",
"windows-store": "node ./script/windows-store.js",
"release": "node ./script/release.js",
"xpackage:mas": "script-electron/mas.sh",
"windows-store": "node script-electron/windows-store.js",
"release": "node script-electron/release.js",
"prepack": "check-for-leaks",
"prepush": "check-for-leaks"
"prepush": "check-for-leaks",
"doc": "jsdoc -c jsdoc.json"
},
"repository": "https://github.com/electron/electron-api-demos",
"keywords": [
Expand All @@ -38,6 +39,7 @@
"electron-packager": "^12.2.0",
"electron-winstaller": "^2.7.0",
"husky": "^0.14.3",
"jsdoc": "^3.6.3",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.5",
"request": "^2.88.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2f601aa

Please sign in to comment.