Skip to content

Commit

Permalink
dropped custom api, just attach electron itself
Browse files Browse the repository at this point in the history
  • Loading branch information
SimulatedGREG committed Jun 2, 2016
1 parent f634956 commit a02b0b9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 19 deletions.
3 changes: 0 additions & 3 deletions src/apis/app.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/apis/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/apis/log.js

This file was deleted.

6 changes: 2 additions & 4 deletions src/vue-electron.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import apis from './apis'

export default {
install (Vue, options) {
Vue.prototype.$electron = { ...apis }
install (Vue) {
Vue.prototype.$electron = require('electron')
}
}

0 comments on commit a02b0b9

Please sign in to comment.