[Pkg-javascript-commits] [dojo] 04/88: options param is supposed to be optional, fixes #15845 on 1.8/ branch

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


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

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

commit a02f4c2197982cb0144378466bfdd0c56d5a5da8
Author: Bill Keese <bill at dojotoolkit.org>
Date:   Mon Aug 13 23:28:09 2012 +0000

    options param is supposed to be optional, fixes #15845 on 1.8/ branch
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@29481 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 store/Cache.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/store/Cache.js b/store/Cache.js
index 7f162c0..e201e75 100644
--- a/store/Cache.js
+++ b/store/Cache.js
@@ -5,6 +5,7 @@ function(lang, Deferred /*=====, declare, Store =====*/){
 //		dojo/store/Cache
 
 var Cache = function(masterStore, cachingStore, options){
+	options = options || {};
 	return lang.delegate(masterStore, {
 		query: function(query, directives){
 			var results = masterStore.query(query, directives);
@@ -83,7 +84,7 @@ Cache = declare(Store, {
 		// cachingStore:
 		//		This is the caching store that will be used to store responses for quick access.
 		//		Typically this should be a local store.
-		// options: __CacheArgs
+		// options: __CacheArgs?
 		//		These are additional options for how caching is handled.
 	},
 	query: function(query, directives){

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