electron/lib/browser/api/views/box-layout.js
Samuel Attard a524c5ec12
chore: move the view APIs to their own directory (#14722)
* chore: move the view APIs to their own directory

* move view api cpp files
2018-09-28 12:47:09 +10:00

15 lines
360 B
JavaScript

'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