[Pkg-javascript-commits] [node-async] 266/480: remove module id for requirejs define call

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:32 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 3e4850cfe39974ddfc78a0e14377a6d6767a33fd
Author: Caolan McMahon <caolan at caolanmcmahon.com>
Date:   Mon Feb 4 11:51:56 2013 +0000

    remove module id for requirejs define call
---
 lib/async.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/async.js b/lib/async.js
index b913c6e..42ea9a7 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -903,7 +903,7 @@
 
     // AMD / RequireJS
     if (typeof define !== 'undefined' && define.amd) {
-        define('async', [], function () {
+        define([], function () {
             return async;
         });
     }

-- 
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