mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
14 lines
411 B
CoffeeScript
14 lines
411 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'
|
|
|
|
o = OSX.JSCocoaOutArgument2.instance
|
|
o.isOutArgument = true
|
|
if args.length == 2
|
|
o.mateWithMemoryBuffer_atIndex_ args[0], args[1]
|
|
o
|
|
|