mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
16 lines
329 B
JavaScript
16 lines
329 B
JavaScript
'use strict'
|
|
|
|
const electron = require('electron')
|
|
|
|
const {View} = electron
|
|
const {TextField} = process.atomBinding('text_field')
|
|
|
|
Object.setPrototypeOf(TextField.prototype, View.prototype)
|
|
|
|
TextField.prototype._init = function () {
|
|
// Call parent class's _init.
|
|
View.prototype._init.call(this)
|
|
}
|
|
|
|
module.exports = TextField
|