mirror of
https://github.com/Hopiu/postal.js.git
synced 2026-03-16 22:20:23 +00:00
Removed factory function export value on CommonJS wrapper
This commit is contained in:
parent
eaccef227e
commit
f8cdebd019
1 changed files with 1 additions and 4 deletions
|
|
@ -2,10 +2,7 @@
|
|||
(function ( root, factory ) {
|
||||
if ( typeof module === "object" && module.exports ) {
|
||||
// Node, or CommonJS-Like environments
|
||||
module.exports = function ( _ ) {
|
||||
_ = _ || require( "underscore" );
|
||||
return factory( _, this );
|
||||
};
|
||||
module.exports = factory( require( "underscore" ), this );
|
||||
} else if ( typeof define === "function" && define.amd ) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define( ["underscore"], function ( _ ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue