A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tigbro/requirejs-factory-plugin below:

tbosch/requirejs-factory-plugin: A requirejs plugin that is able to inject the factory function of other modules

Require.js Factory Plugin (Overcome by another project)

This plugin does no more work with the current requirejs version. Please see the isolate plugin: https://github.com/tnwinc/Isolate.

This is a requirejs plugin that allows to inject the factory of modules into otehr modules. This is most useful for unit-tests, so that they are able to instantiate the module that should be tests with mocked dependencies as often as needed.

This is especially useful if your modules are stateful, and the tests change the state of the modules.

Requirejs does not yet provide this feature, see the group discussion here: http://groups.google.com/group/requirejs/browse_thread/thread/e6964d924687bd77


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4