-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
The current define wrapper in JSONIX blocks usage in webpack2, I wonder if it's time to get rid of this?

/*if (typeof define !== 'function') {^M
// Load the define function via amdefine^M
var define = require('amdefine')(module);^M
// If we're not in browser^M
if (typeof window === 'undefined')^M
{^M
// Require xmldom, xmlhttprequest and fs^M
define(["xmldom", "xmlhttprequest", "fs"], _jsonix_factory);^M
}^M
else^M
{^M
// We're probably in browser, maybe browserify^M
// Do not require xmldom, xmlhttprequest as they'r provided by the browser^M
// Do not require fs since file system is not available anyway^M
define([], _jsonix_factory);^M
}^M
}^M
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels