[Pkg-javascript-commits] [dojo] 07/87: Fixed array module reference for 1.7, fixes #14205 !strict

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.7.5
in repository dojo.

commit e0edb762ccde746ea6c14bfb8736e09a20a87f36
Author: Kris Zyp <kriszyp at gmail.com>
Date:   Thu Nov 17 17:55:08 2011 +0000

    Fixed array module reference for 1.7, fixes #14205 !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@27043 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 store/util/QueryResults.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/store/util/QueryResults.js b/store/util/QueryResults.js
index be58837..f1ee949 100644
--- a/store/util/QueryResults.js
+++ b/store/util/QueryResults.js
@@ -1,5 +1,5 @@
-define(["../../_base/kernel", "../../_base/lang", "../../_base/Deferred"
-], function(kernel, lang, Deferred) {
+define(["../../_base/array", "../../_base/lang", "../../_base/Deferred"
+], function(array, lang, Deferred) {
   //  module:
   //    dojo/store/util/QueryResults
   //  summary:
@@ -44,7 +44,7 @@ util.QueryResults = function(results){
 				var args = arguments;
 				return Deferred.when(results, function(results){
 					Array.prototype.unshift.call(args, results);
-					return util.QueryResults(dojo[method].apply(dojo, args));
+					return util.QueryResults(array[method].apply(array, args));
 				});
 			};
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list