[Pkg-javascript-commits] [dojo] 03/13: Replacing "this" with "dojo", !strict, refs #9067.

David Prévot taffit at moszumanska.debian.org
Mon May 11 20:12:25 UTC 2015


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

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

commit e4230c83998f2855e05e56072056a0838a0ff89b
Author: Eugene Lazutkin <eugene at lazutkin.com>
Date:   Sat Jun 13 23:33:28 2009 +0000

    Replacing "this" with "dojo", !strict, refs #9067.
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.3/dojo@17942 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 _base/array.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/_base/array.js b/_base/array.js
index e1ba0d8..e2e1bc3 100644
--- a/_base/array.js
+++ b/_base/array.js
@@ -143,7 +143,7 @@ dojo.provide("dojo._base.array");
 			// example:
 			//	|	// returns true 
 			//	|	dojo.every([1, 2, 3, 4], function(item){ return item>0; });
-			return this._everyOrSome(true, arr, callback, thisObject); // Boolean
+			return dojo._everyOrSome(true, arr, callback, thisObject); // Boolean
 		},
 
 		some: function(/*Array|String*/arr, /*Function|String*/callback, /*Object?*/thisObject){
@@ -167,7 +167,7 @@ dojo.provide("dojo._base.array");
 			// example:
 			//	|	// is false
 			//	|	dojo.some([1, 2, 3, 4], function(item){ return item<1; });
-			return this._everyOrSome(false, arr, callback, thisObject); // Boolean
+			return dojo._everyOrSome(false, arr, callback, thisObject); // Boolean
 		},
 
 		map: function(/*Array|String*/arr, /*Function|String*/callback, /*Function?*/thisObject){

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