electron/lib/browser/api/box-layout.js

16 lines
356 B
JavaScript
Raw Normal View History

2018-05-22 08:08:27 +00:00
'use strict'
const electron = require('electron')
const {LayoutManager} = electron
const {BoxLayout} = process.atomBinding('box_layout')
Object.setPrototypeOf(BoxLayout.prototype, LayoutManager.prototype)
BoxLayout.prototype._init = function () {
// Call parent class's _init.
LayoutManager.prototype._init.call(this)
}
module.exports = BoxLayout