mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
16 lines
374 B
JavaScript
16 lines
374 B
JavaScript
'use strict'
|
|
|
|
const electron = require('electron')
|
|
|
|
const { LabelButton } = electron
|
|
const { MdTextButton } = process.electronBinding('md_text_button')
|
|
|
|
Object.setPrototypeOf(MdTextButton.prototype, LabelButton.prototype)
|
|
|
|
MdTextButton.prototype._init = function () {
|
|
// Call parent class's _init.
|
|
LabelButton.prototype._init.call(this)
|
|
}
|
|
|
|
module.exports = MdTextButton
|