[Pkg-javascript-commits] [dojo] 02/19: Use has.add for config-useDeferredInstrumentation

David Prévot taffit at moszumanska.debian.org
Sun Sep 14 16:23:08 UTC 2014


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

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

commit 84f97f29f6cf40c514550c437caee83f40d0fc6a
Author: Colin Snover <github.com at zetafleet.com>
Date:   Mon Feb 24 23:29:44 2014 +0000

    Use has.add for config-useDeferredInstrumentation
    
    This ensures that a default build works the same as an unbuilt
    version of Dojo, while still allowing the configuration value
    to be fixed during a build.
    
    Fixes #17753.
    
    (cherry picked from commit fdcc15e86445ea8b893ef65d29b860ef12a2abb3)
    (cherry picked from commit 5b28811930e9353160fe7f0a9680615e3da98639)
---
 dojo.js                    | 1 -
 promise/instrumentation.js | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dojo.js b/dojo.js
index 37633f8..be28f39 100644
--- a/dojo.js
+++ b/dojo.js
@@ -1924,7 +1924,6 @@
 			"dojo-sync-loader":1,
 			"dojo-test-sniff":1,
 			"config-deferredInstrumentation":1,
-			"config-useDeferredInstrumentation":"report-unhandled-rejections",
 			"config-tlmSiblingOfDojo":1
 		},
 		packages:[{
diff --git a/promise/instrumentation.js b/promise/instrumentation.js
index 409f1a9..49bf127 100644
--- a/promise/instrumentation.js
+++ b/promise/instrumentation.js
@@ -4,6 +4,8 @@ define([
 	"../_base/lang",
 	"../_base/array"
 ], function(tracer, has, lang, arrayUtil){
+	has.add("config-useDeferredInstrumentation", "report-unhandled-rejections");
+
 	function logError(error, rejection, deferred){
 		var stack = "";
 		if(error && error.stack){

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