From e69daa447d3dcb76dce669293f1d468606b88bf6 Mon Sep 17 00:00:00 2001 From: Nik Nyby Date: Tue, 23 Jun 2015 19:08:41 -0400 Subject: use notification-box from npm --- packages/notificationbox/lib/main.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 packages/notificationbox/lib/main.js (limited to 'packages/notificationbox/lib/main.js') diff --git a/packages/notificationbox/lib/main.js b/packages/notificationbox/lib/main.js deleted file mode 100644 index 0d17404..0000000 --- a/packages/notificationbox/lib/main.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyrights Loic J. Duros 2012 - * lduros@member.fsf.org - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -var self = require("sdk/self"); -var notification = require("notification-box").NotificationBox({ - 'value': 'important-message', - 'label': 'You have been warned...', - 'priority': 'WARNING_HIGH', - 'image': self.data.url("gnu-icon.png"), - 'buttons': [{'label': "Gotcha", - 'onClick': function () { console.log("You clicked the important button!"); }}] -}); -- cgit v1.2.3