Add javascript first binding support for Ubuntu APIs

Bug #1270210 reported by Alexandre Abreu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu HTML5 UI SDK
Fix Released
High
Alexandre Abreu
unity-webapps-qml (Ubuntu)
Fix Released
Undecided
Alexandre Abreu

Bug Description

Add a first draft of support for javascript HTML5 apps APIs for:

- content-hub,
- OnlineAccounts,
- alarm api,

Related branches

tags: added: html5-blocker
David Barth (dbarth)
Changed in ubuntu-html5-theme:
status: New → In Progress
importance: Undecided → High
Changed in ubuntu-html5-theme:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
David Barth (dbarth)
Changed in ubuntu-html5-theme:
milestone: none → 14.02
Changed in unity-webapps-qml (Ubuntu):
assignee: nobody → Alexandre Abreu (abreu-alexandre)
status: New → Fix Committed
Changed in ubuntu-html5-theme:
status: In Progress → Fix Committed
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

yuidoc build of the unity-webapps-qml API docs for JavaScript fails to produce usable content because yuidocs requirements are not met. (The build succdeds but there are not useful pages)

I think the problem is that there must be @class and/@module yuidoc lines but there are none.

For example look here:
http://bazaar.launchpad.net/~ubuntu-html5-theme-devs/ubuntu-html5-theme/trunk/view/head:/0.1/ambiance/js/buttons.js

And you will see this:
/**
 * A Button.

 Note the Ubuntu CSS style classes: <em>success</em>, <em>warning</em>, and <em>danger</em>

 * @class Button
 * @constructor
 * @namespace UbuntuUI
 * @example
      <button data-role="button" id="buttonID">text</button>

      Javascript access:
      var button = UI.button("buttonID");
 */

These requirements are explained here: http://yui.github.io/yuidoc/syntax/

Changed in ubuntu-html5-theme:
status: Fix Committed → Confirmed
Changed in unity-webapps-qml (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

@Kyle could you open a new bug for that?

Changed in ubuntu-html5-theme:
status: Confirmed → Fix Committed
Changed in unity-webapps-qml (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

@Alex: I created this bug to track the issue above: https://bugs.launchpad.net/unity-webapps-qml/+bug/1274191

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-webapps-qml - 0.1+14.04.20140130.3-0ubuntu1

---------------
unity-webapps-qml (0.1+14.04.20140130.3-0ubuntu1) trusty; urgency=low

  [ Alexandre Abreu ]
  * Add bindings for Alarm API, contend HUb, Online Accounts,. (LP:
    #1270210)

  [ Robert Bruce Park ]
  * Minor packaging cleanup.
  * Provide virtual package ubuntu-html5-api-bindings.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 76
 -- Ubuntu daily release <email address hidden> Thu, 30 Jan 2014 17:52:37 +0000

Changed in unity-webapps-qml (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-html5-theme:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.