Skip to content

Commit f966c21

Browse files
committed
- add Backendless to global scope
1 parent d6cbfa5 commit f966c21

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const Backendless = {
6969

7070
setupDevice: Device.setup,
7171

72-
browser : getUserAgent(),
72+
browser: getUserAgent(),
7373

7474
Request,
7575

@@ -122,6 +122,10 @@ const Backendless = {
122122
///-------------------------------------///
123123
}
124124

125+
if (root) {
126+
root.Backendless = Backendless
127+
}
128+
125129
export default Backendless
126130

127131
module.exports = Backendless

0 commit comments

Comments
 (0)