Skip to content Skip to sidebar Skip to footer
Showing posts with the label Require

Resolving Modules Using Require.js And Java/rhino

I'm trying to get require.js to load modules on the server-side with Java 6 and Rhino. I'm … Read more Resolving Modules Using Require.js And Java/rhino

React-native - Image Require Local Path From Json

Hello comunity :) I am working on a testapp in react-native and try to get Images from a local stor… Read more React-native - Image Require Local Path From Json

Override The Require Function

Is it possible to override the global require function, affecting it at process level? From what I … Read more Override The Require Function

How To Properly Require Modules From Mocha.opts File

I'm using the expect.js library with my mocha unit tests. Currently, I'm requiring the lib… Read more How To Properly Require Modules From Mocha.opts File

Jasmine 2.0 Async Beforeeach Not Waiting For Async To Finish

I am using Jasmine 2.0 and require.js. I cannot get the async tests to work properly when I put the… Read more Jasmine 2.0 Async Beforeeach Not Waiting For Async To Finish

Importing "regular" Javascript Packages Installed With Npm In Webpack

I've npm installed smooth-scroll, a package which does not support the import syntax. I am sure… Read more Importing "regular" Javascript Packages Installed With Npm In Webpack

Override The Require Function

Is it possible to override the global require function, affecting it at process level? From what I … Read more Override The Require Function

Java 7 + Rhino 1.7R3 Support For CommonJS Modules?

I need help getting CommonJS working on Java 7 and Rhino 1.7R3. Rhino 1.7R3 supports CommonJS modul… Read more Java 7 + Rhino 1.7R3 Support For CommonJS Modules?