clientside-require
Advanced tools
Comparing version 3.9.9 to 3.10.1
{ | ||
"name": "clientside-require", | ||
"version": "3.9.9", | ||
"version": "3.10.1", | ||
"description": "Node.js style require() statements in the browser. Load npm modules, js, html, css, json without any bundling required.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -58,2 +58,3 @@ var basic_loaders = require("./basic.js"); | ||
frame.contentWindow.clientside_require = window.clientside_require; // pass by reference the clientside_require object | ||
frame.contentWindow.root_window = window; // pass the root window (browser window) to the module so it can use it if needed | ||
}, | ||
@@ -60,0 +61,0 @@ browser_variables : function(frame){ // browser environment variables (those not present in iframes) |
112420
1275