aboutsummaryrefslogtreecommitdiffstats
path: root/packages/notificationbox/lib/main.js
diff options
context:
space:
mode:
authorNik Nyby <nnyby@columbia.edu>2015-10-24 11:50:56 -0400
committerNik Nyby <nnyby@columbia.edu>2015-10-24 11:50:56 -0400
commitaf0fdf2afd5b42a041d97f33170d17d6f18253af (patch)
treeb31f8c59c4ed9d05fa5eaa2f95a204a1f46787f6 /packages/notificationbox/lib/main.js
parentda101e8eb9da3808b3bd75d571e40d5c2f139d9d (diff)
parent59597067c21e52ae94340801d4bf6e3a9825c7a3 (diff)
downloadlibrejsxul-af0fdf2afd5b42a041d97f33170d17d6f18253af.tar.lz
librejsxul-af0fdf2afd5b42a041d97f33170d17d6f18253af.tar.xz
librejsxul-af0fdf2afd5b42a041d97f33170d17d6f18253af.zip
Merge pull request #5 from nikolas/jpm
jpm
Diffstat (limited to 'packages/notificationbox/lib/main.js')
-rw-r--r--packages/notificationbox/lib/main.js16
1 files changed, 0 insertions, 16 deletions
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!"); }}]
-});