Bug 1196102 - Clean up unused Heartbeat UITour arguments and indentation. r=bgrins

--HG--
extra : commitid : ybSbStxpg9
extra : rebase_source : 882cf62a33e645d55d1080de2debeca9decaae0d
This commit is contained in:
Matthew Noorenberghe 2015-08-19 00:26:18 -07:00
Родитель 59e6183cef
Коммит 7be0da2ef5
2 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -99,7 +99,7 @@ if (typeof Mozilla == 'undefined') {
};
Mozilla.UITour.showHeartbeat = function(message, thankyouMessage, flowId, engagementURL,
learnMoreLabel, learnMoreURL) {
learnMoreLabel, learnMoreURL) {
_sendEvent('showHeartbeat', {
message: message,
thankyouMessage: thankyouMessage,

Просмотреть файл

@ -475,7 +475,7 @@ this.UITour = {
}
// Finally show the Heartbeat UI.
this.showHeartbeat(window, messageManager, data);
this.showHeartbeat(window, data);
break;
}
@ -1111,8 +1111,6 @@ this.UITour = {
*
* @param aChromeWindow
* The chrome window that the heartbeat notification is displayed in.
* @param aMessageManager
* The message manager to communicate with the API caller.
* @param {Object} aOptions Options object.
* @param {String} aOptions.message
* The message, or question, to display on the notification.
@ -1130,7 +1128,7 @@ this.UITour = {
* The learn more URL to open when clicking on the learn more link. No learn more
* will be shown if this is an invalid URL.
*/
showHeartbeat: function(aChromeWindow, aMessageManager, aOptions) {
showHeartbeat(aChromeWindow, aOptions) {
let nb = aChromeWindow.document.getElementById("high-priority-global-notificationbox");
// Create the notification. Prefix its ID to decrease the chances of collisions.