Skip to content
Permalink
Browse files
[fix bug 1124628] Remove pinned tab APIs from UITour lib & docs
  • Loading branch information
alexgibson committed Jan 22, 2015
1 parent 67fc393 commit 1835cf3b84925436a73c3659cfe8026d84edd4a1
Showing with 0 additions and 28 deletions.
  1. +0 −20 docs/uitour.rst
  2. +0 −8 media/js/firefox/australis/australis-uitour.js
@@ -68,7 +68,6 @@ and ``effect`` is the animation type:
Target types:

* ``'pinnedTab'``
* ``'accountStatus'``
* ``'addons'``
* ``'appMenu'``
@@ -253,25 +252,6 @@ Cycles through an array of themes at a set interval with a callback on each step
* ``delay`` in milliseconds (number)
* ``callback`` to excecute at each step (function)

addPinnedTab()
^^^^^^^^^^^^^^

Adds a pinned tab to the browser window. For security reasons the URL for this pinned tab
is hard-coded in the browser, and currently points to ``https://support.mozilla.org/kb/pinned-tabs-keep-favorite-websites-open``

.. code-block:: javascript
Mozilla.UITour.addPinnedTab();
removePinnedTab()
^^^^^^^^^^^^^^^^^

Removes the pinned tab if one was created.

.. code-block:: javascript
Mozilla.UITour.removePinnedTab();
getConfiguration(type, callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@@ -146,14 +146,6 @@ if (typeof Mozilla == 'undefined') {
nextTheme();
};

Mozilla.UITour.addPinnedTab = function() {
_sendEvent('addPinnedTab');
};

Mozilla.UITour.removePinnedTab = function() {
_sendEvent('removePinnedTab');
};

Mozilla.UITour.showMenu = function(name, callback) {
var showCallbackID;
if (callback) {

0 comments on commit 1835cf3

Please sign in to comment.