UNPKG
notifyjs
Version:
latest (3.0.0)
3.0.0
2.0.3
2.0.2
2.0.1
2.0.0
1.3.0
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
A handy wrapper for the Web Notifications API
github.com/alexgibson/notify.js
alexgibson/notify.js
notifyjs
/
jspm_packages
/
npm
/
systemjs-plugin-babel@0.0.9
/
babel-helpers
/
defineEnumerableProperties.js
10 lines
(9 loc)
•
253 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
export
default
(
function
(
obj, descs
) {
for
(
var
key
in
descs) {
var
desc = descs[key]; desc.
configurable
= desc.
enumerable
=
true
;
if
(
"value"
in
desc) desc.
writable
=
true
;
Object
.
defineProperty
(obj, key, desc); }
return
obj; })