hyper/lib/utils/notify.js
Matheus Fernandes 1866104d03 [WIP] Use XO instead of Standard (#723)
* Bump `eslint-plugin-react`

* Add `eslint-config-xo-react`

* Add XO

* Remove eslint-related dependencies, add XO config and use XO as the linter

* Code style: Standard => XO 

* Use xo property to ignore files

* Fix remaining errors
2016-09-21 16:27:11 +02:00

6 lines
182 B
JavaScript

/* global Notification */
/* eslint no-new:0 */
export default function notify(title, body) {
console.log(`[Notification] ${title}: ${body}`);
new Notification(title, {body});
}