Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception.
This commit is contained in:
commit
4f2e303079
1839 changed files with 235630 additions and 0 deletions
44
webapp/web/src/widget/GoogleMap.js
Normal file
44
webapp/web/src/widget/GoogleMap.js
Normal file
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
Copyright (c) 2004-2006, The Dojo Foundation
|
||||
All Rights Reserved.
|
||||
|
||||
Licensed under the Academic Free License version 2.1 or above OR the
|
||||
modified BSD license. For more information on Dojo licensing, see:
|
||||
|
||||
http://dojotoolkit.org/community/licensing.shtml
|
||||
*/
|
||||
|
||||
dojo.provide("dojo.widget.GoogleMap");
|
||||
dojo.provide("dojo.widget.GoogleMap.Controls");
|
||||
dojo.require("dojo.widget.*");
|
||||
dojo.widget.tags.addParseTreeHandler("dojo:googlemap");
|
||||
|
||||
dojo.widget.GoogleMap=function(){
|
||||
// summary
|
||||
// base class for the Google Map widget
|
||||
dojo.widget.Widget.call(this);
|
||||
this.widgetType="GoogleMap";
|
||||
this.isContainer=false;
|
||||
}
|
||||
dojo.inherits(dojo.widget.GoogleMap, dojo.widget.Widget);
|
||||
|
||||
dojo.widget.GoogleMap.Controls={
|
||||
LargeMap:"largemap",
|
||||
SmallMap:"smallmap",
|
||||
SmallZoom:"smallzoom",
|
||||
Scale:"scale",
|
||||
MapType:"maptype",
|
||||
Overview:"overview",
|
||||
get:function(s){
|
||||
for(var p in this){
|
||||
if(typeof(this[p])=="string"
|
||||
&& this[p]==s
|
||||
){
|
||||
return p;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
dojo.requireAfterIf("html", "dojo.widget.html.GoogleMap");
|
Loading…
Add table
Add a link
Reference in a new issue