Removed unused reference to "document"

The `document` global is not used in postal afaic. You could still access it through `global.window`.

I understand this is a browser version of postal, but it actually broke my r.js optimized build, since postal tries to access this global property on boot.
This commit is contained in:
Lars Kappert 2012-10-12 00:41:43 +03:00
parent 354a3187bd
commit 7ca226e143

View file

@ -1,14 +1,14 @@
(function ( root, doc, factory ) {
(function ( root, factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( ["underscore"], function ( _ ) {
return factory( _, root, doc );
return factory( _, root );
} );
} else {
// Browser globals
factory( root._, root, doc );
factory( root._, root );
}
}( this, document, function ( _, global, document, undefined ) {
}( this, function ( _, global, undefined ) {
//import("../Constants.js");
//import("../ConsecutiveDistinctPredicate.js");