chore: move the view APIs to their own directory (#14722)

* chore: move the view APIs to their own directory

* move view api cpp files
This commit is contained in:
Samuel Attard 2018-09-28 12:47:09 +10:00 committed by GitHub
parent 77fb9cf416
commit a524c5ec12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 43 additions and 43 deletions

View file

@ -0,0 +1,15 @@
'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