Merge pull request #7351 from atom/mq-optional-clipboard-metadata

Mark Clipboard::write's metadata argument as optional
This commit is contained in:
Kevin Sawicki
2015-06-22 11:02:01 -07:00

View File

@@ -31,7 +31,7 @@ class Clipboard
# {::readWithMetadata}.
#
# * `text` The {String} to store.
# * `metadata` The additional info to associate with the text.
# * `metadata` (optional) The additional info to associate with the text.
write: (text, metadata) ->
@signatureForMetadata = @md5(text)
@metadata = metadata