mirror of
https://github.com/atom/atom.git
synced 2026-02-16 09:35:54 -05:00
16 lines
453 B
CoffeeScript
16 lines
453 B
CoffeeScript
# This is where we put things from JSCocoa's class.js file
|
|
|
|
exports.outArgument = (args...) ->
|
|
# Derive to store some javascript data in the internal hash
|
|
if not @outArgument2?
|
|
OSX.JSCocoa.createClass_parentClass_('JSCocoaOutArgument2', 'JSCocoaOutArgument')
|
|
|
|
console.log(OSX.JSCocoaOutArgument2)
|
|
o = OSX.JSCocoaOutArgument2.instance
|
|
o.isOutArgument = true
|
|
if args.length == 2
|
|
o.mateWithMemoryBuffer_atIndex_(args[0], args[1])
|
|
|
|
o
|
|
|