15 lines
390 B
JavaScript
15 lines
390 B
JavaScript
/* @flow */
|
|
export const COMMAND_CAPTURE_SIMPLE = 'capture-simple';
|
|
|
|
export const METHOD_CAPTURE_WITH_EXTRAS = 'captureWithExtras';
|
|
|
|
export function showNotification(text: string, priority: number=0) {
|
|
chrome.notifications.create({
|
|
'type': "basic",
|
|
'title': "org-grasp",
|
|
'message': text,
|
|
'priority': priority,
|
|
'iconUrl': 'unicorn.png',
|
|
});
|
|
}
|