Yes... but it still shouldn't throw like it does. The exception should
at least be useful (or even better, degrade gracefully).
- Blair
On 2/04/2009 5:51 PM, satyr wrote:
>
> The relevant part of CreateCommand's document:
>
> {{{ options.takes }}} Defines the primary argument of the command,
> a.k.a. the direct-object of the verb. A dictionary object with a
> single property. The name of the property will be the display name
> of the primary argument. The value of the property must be either a
> noun type (see
> https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Nountypes_Reference
> ) which defines what type of values are valid for the argument, or
> a regular expression that filters what the argument can consist of.
>
> Since it explicitly says "A dictionary object with a single property",
> `takes:{}' seems invalid.
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---