electron/spec/fixtures/module/function-with-properties.js
2016-08-22 17:07:18 -07:00

17 lines
213 B
JavaScript

function foo () {
return 'hello'
}
foo.bar = 'baz'
foo.nested = {
prop: 'yes'
}
foo.method1 = function () {
return 'world'
}
foo.method1.prop1 = function () {
return 123
}
module.exports = {
foo: foo
}