Labs/Jetpack/JEP/10: Difference between revisions

Line 68: Line 68:
* '''returns''': An array of Jetpack clipboard flavors.
* '''returns''': An array of Jetpack clipboard flavors.


== Notes on Clipboard Flavors ==
=== Notes on Clipboard Flavors ===


=== Additional Reading ===
==== Additional Reading ====


Reading/setting the clipboard requires asking for/giving the format of the data. This is done through "flavors", or slightly modified [http://en.wikipedia.org/wiki/Internet_media_type Internet media types].
Reading/setting the clipboard requires asking for/giving the format of the data. This is done through "flavors", or slightly modified [http://en.wikipedia.org/wiki/Internet_media_type Internet media types].
Line 84: Line 84:
''Odd footnote: It appears in the documentation for the clipboard on MDC that there exists a "text/unicode" flavor. However, I can find no mention of it in the Internet media type spec.''
''Odd footnote: It appears in the documentation for the clipboard on MDC that there exists a "text/unicode" flavor. However, I can find no mention of it in the Internet media type spec.''


=== Jetpack Clipboard Flavors ===
==== Jetpack Clipboard Flavors ====


As mentioned above, we've made it a bit easier to use flavors. We haven't implemented all flavors, so for now there are only the text related flavors.
As mentioned above, we've made it a bit easier to use flavors. We haven't implemented all flavors, so for now there are only the text related flavors.
86

edits