Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sample application illustrating use of the Asana API
branch: master

This branch is 4 commits behind Asana:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
api_bridge.js
asana.js
background.html
common.css
extension_server.js
icon128.png
icon19.png
jquery-1.7.1.min.js
jquery-ui-1.8.10.custom.min.js
manifest.json
options.html
options.js
options_style.css
popup.html
popup_style.css
quick_add_client.js
selection_client.js
server_model.js
sprite.png

README

This is a free, open-source, sample application demonstrating use of the
Asana API. It takes the form of a Chrome Extension that, when installed,
integrates Asana into your web experience in the following ways:

  * Creates a button in your button-bar which, when clicked, pops up a
    QuickAdd window to create a new task associated with the current web page.
    It will populate the task name with the page title by default, and
    put the URL in the notes, along with any text you may have selected
    when you pressed the button.

  * Installs the special Asana TAB+Q keyboard shortcut. When this key combo
    is pressed from any web page, it brings up the same popup.

See: http://developer.asana.com/

Files of special interest:

  api_bridge.js:
    Handles generic communication with the API.

  server_model.js:
    Wraps specifics of individual API calls to return objects to calling code.
    This is not a real ORM, just the bare bones necessary to get a few
    simple things done.

  popup.html
    Source for the popup window, contains the top-level logic which drives
    most of the user-facing functionality.
Something went wrong with that request. Please try again.