-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Following the Usage instructions it seems like I should be able to avoid using Browserify by loading the browser-request JS file directly in HTML like so <script src="node_modules/browser-request/index.js"></script>
and then in another JS file that is loaded beneath it, using browser-request by calling window.request
(HTML comment in Usage instructions reads "Assigns the module to window.request"). Apparently I am misinterpreting that because window.request
is undefined. Can someone please explain to me how to use this without needing to use Node's require()
and Browserify? I have confirmed that node_modules/browser-request/index.js
is being loaded by the browser.
Thank you.
Metadata
Metadata
Assignees
Labels
No labels