Skip to content

Commit

Permalink
event emitter api changed a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
englercj committed Apr 22, 2015
1 parent 3a45f08 commit 556ad41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Loader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var async = require('async'),
Resource = require('./Resource'),
EventEmitter = require('eventemitter3').EventEmitter;
EventEmitter = require('eventemitter3');

/**
* Manages the state and loading of multiple resources to load.
Expand Down
2 changes: 1 addition & 1 deletion src/Resource.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var EventEmitter = require('eventemitter3').EventEmitter,
var EventEmitter = require('eventemitter3'),
// tests is CORS is supported in XHR, if not we need to use XDR
useXdr = !!(window.XDomainRequest && !('withCredentials' in (new XMLHttpRequest())));

Expand Down

0 comments on commit 556ad41

Please sign in to comment.