Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Latest commit

 

History

History

handler

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Ballista Editor Demo

Author: Matt Giuca <mgiuca@chromium.org>

Live at: handler-dot-chromium-ballista.appspot.com

This is a simple web-based text editor that registers as a Ballista handler for text files. As it uses the Ballista polyfill, it works with any requester app using the same polyfill (like Ballista Cloud Demo).

The app requires a web browser with support for Service Workers and Arrow functions. This includes newer versions of Google Chrome / Chromium and Mozilla Firefox. (Tested on Chrome 46 and Firefox 42.)

Usage instructions

The demo runs on Google App Engine. You can try it out locally using the App Engine dev appserver.

  1. Download and install the App Engine Python SDK.
  2. cd to the ballista directory.
  3. Run the dev appserver: dev_appserver.py handler.yaml.
  4. Open the handler in a supported browser. You will be prompted to register this site as an action handler. Click "OK". Close the page.
  5. You can view and delete handler registrations in the polyfill control panel.
  6. Open a requester app. For this example, we'll use Ballista Cloud Demo.
  7. From the requester, click "Open". Select "Ballista Editor Demo". This opens a new tab with the handler.
  8. Edit the text in the handler, then click "Save".
  9. The new text will be visible in the requester.