[Pkg-javascript-commits] [node-async] 238/480: Revert "Merge pull request #221 from ashnur/patch-1"
Jonas Smedegaard
js at moszumanska.debian.org
Fri May 2 08:58:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-async.
commit 23fb28e5dcc8e5465a60444ffbe0b63253595664
Author: Caolan McMahon <caolan at caolanmcmahon.com>
Date: Thu Jan 31 11:45:52 2013 +0000
Revert "Merge pull request #221 from ashnur/patch-1"
This reverts commit 5ca7fb2b08ae05b0b4494a765a23dd74ab3a3022, reversing
changes made to 96a7da519adc9e8cb3c187a2da4945f5edea71d3.
---
lib/async.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/async.js b/lib/async.js
index a9a7156..e4edb85 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -748,14 +748,14 @@
};
// AMD / RequireJS
- if (typeof root.define !== 'undefined' && root.define.amd) {
- root.define('async', [], function () {
+ if (typeof define !== 'undefined' && define.amd) {
+ define('async', [], function () {
return async;
});
}
// Node.js
- else if (typeof root.module !== 'undefined' && root.module.exports) {
- root.module.exports = async;
+ else if (typeof module !== 'undefined' && module.exports) {
+ module.exports = async;
}
// included directly via <script> tag
else {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git
More information about the Pkg-javascript-commits
mailing list