📝 Mark Clipboard::write's metadata argument as optional

This commit is contained in:
Machisté N. Quintana
2015-06-20 12:45:47 -04:00
parent fc4f2a102e
commit 4e1d47b09f

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