define([
	"dojo/Evented",
	"dojo/on",
	"dojo/ready",
	"dojo/_base/window", // global
	"dojo/window" // getBox()
], function(Evented, on, ready, win, winUtils){

	// module:
	//		dijit/Viewport
	// summary:
	//		Utility singleton to watch for viewport resizes, avoiding duplicate notifications
	//		which can lead to infinite loops.
	//
	//		Usage: Viewport.on("resize", myCallback).
	//
	//		myCallback() is called without arguments in case it's _WidgetBase.resize(),
	//		which would interpret the argument as the size to make the widget.

	var Viewport = new Evented();

	ready(200, function(){
		var oldBox = winUtils.getBox();
		console.log("original viewport size (" + oldBox.w + "," + oldBox.h + ")");
		Viewport._rlh = on(win.global, "resize", function(e){
			var newBox = winUtils.getBox();
			if(oldBox.h == newBox.h || oldBox.w == newBox.w){ return; }
			console.log("viewport size changed from (" + oldBox.w + "," + oldBox.h + ") to (" +
				newBox.w + "," + newBox.h + ")");
			oldBox = newBox;
			Viewport.emit("resize");
		});
	});

	return Viewport;
});

@@ -628,85 +628,8 @@
 ();%0A
-%09%09console.log(%22original viewport size (%22 + oldBox.w + %22,%22 + oldBox.h + %22)%22);%0A
 %09%09Vi
@@ -782,133 +782,8 @@
 ; %7D%0A
-%09%09%09console.log(%22viewport size changed from (%22 + oldBox.w + %22,%22 + oldBox.h + %22) to (%22 +%0A%09%09%09%09newBox.w + %22,%22 + newBox.h + %22)%22);%0A
 %09%09%09o

remove console.log() statements, refs #14247 !strict.