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

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstep committed Dec 5, 2017
1 parent 3b4d718 commit 783abd6
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 58 deletions.
4 changes: 0 additions & 4 deletions DApps/01_randomGen_example/backend.js

This file was deleted.

7 changes: 0 additions & 7 deletions DApps/01_randomGen_example/dapp.manifest

This file was deleted.

14 changes: 0 additions & 14 deletions DApps/01_randomGen_example/game_logic.js

This file was deleted.

20 changes: 0 additions & 20 deletions DApps/01_randomGen_example/index.html

This file was deleted.

1 change: 0 additions & 1 deletion DApps/01_randomGen_example/lib/DC.js

This file was deleted.

2 changes: 1 addition & 1 deletion DApps/dicedapp_v2/lib/DC.js

Large diffs are not rendered by default.

Binary file removed DApps/example.zip
Binary file not shown.
8 changes: 4 additions & 4 deletions public/index.electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const url = require('url')
require('electron-debug')({
enabled: true ,
showDevTools: false ,
});
})


// Check updates
Expand Down Expand Up @@ -87,9 +87,9 @@ function createWindow () {
const trayIcon = new Tray(path.join(__dirname, 'static/icons/icon-38.png'))
trayIcon.setToolTip('Dao.Casino')
trayIcon.setContextMenu(Menu.buildFromTemplate([
// { label: 'Show App', click:() => {
// mainWindow.show()
// } },
{ label: 'Show Dev Tools', click:() => {
mainWindow.webContents.openDevTools()
} },
{ label: 'Quit', click:() => {
app.isQuiting = true
app.quit()
Expand Down
8 changes: 4 additions & 4 deletions src/index.electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const url = require('url')
require('electron-debug')({
enabled: true ,
showDevTools: false ,
});
})


// Check updates
Expand Down Expand Up @@ -87,9 +87,9 @@ function createWindow () {
const trayIcon = new Tray(path.join(__dirname, 'static/icons/icon-38.png'))
trayIcon.setToolTip('Dao.Casino')
trayIcon.setContextMenu(Menu.buildFromTemplate([
// { label: 'Show App', click:() => {
// mainWindow.show()
// } },
{ label: 'Show Dev Tools', click:() => {
mainWindow.webContents.openDevTools()
} },
{ label: 'Quit', click:() => {
app.isQuiting = true
app.quit()
Expand Down
6 changes: 3 additions & 3 deletions src/view/components/screens/dev/dapps_list.tag
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ import './dapps_list.less'
this.remove = e =>{
e.preventDefault()
let key = e.item.dapp.config.name
if (confirm(`You should want to remove ${key} dapp?`)) {
// if (confirm(`You should want to remove ${key} dapp?`)) {
DApps.remove(key, ()=>{
Object.keys(this.dapps).forEach(d=>{
if ( d.toLowerCase() === key.toLowerCase() ) {
Expand All @@ -97,7 +97,7 @@ import './dapps_list.less'
})
this.update()
})
}
// }
}

this.jsonPrint = d =>{
Expand All @@ -121,7 +121,7 @@ import './dapps_list.less'
</script>

<div class="links">
<a target="_blank" href="https://github.com/DaoCasino/BankRollerApp/raw/master/DApps/example.zip">Download DApp exmaple</a>
<a target="_blank" href="https://github.com/DaoCasino/BankRollerApp/raw/master/DApps/example.zip">Download DApp example</a>
<a target="_blank" href="https://github.com/DaoCasino/DCLib">Read docs</a>
</div>

Expand Down

0 comments on commit 783abd6

Please sign in to comment.