This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cu.import("resource://ubiquity/modules/oauth.js"); | |
const TWITTER_STATUS_MAXLEN = 140; | |
CmdUtils.CreateCommand({ | |
name: ["todo", "task"], | |
description: ("Add a task to Toodledo at most " + TWITTER_STATUS_MAXLEN + " characters."), | |
help: ("You'll need a <a href=\"http://twitter.com\">Twitter account</a>," + | |
" to add task. If the account isn't already authorized," + | |
" you'll be asked for password."), |