Remove UserAgent class. Use mootools.

This commit is contained in:
Paulo Veiga
2011-08-09 02:27:59 -03:00
parent 7d9af403fe
commit fb24d7c9a5
6 changed files with 6 additions and 142 deletions

View File

@@ -98,7 +98,7 @@ TestCase("Mindplot test",{
var fireNativeEvent = function(type, target, position){
var event;
if(core.UserAgent.isIE()){
if(Browser.ie){
event = document.createEventObject();
event.screenX = position.x;
event.screenY = position.y;

View File

@@ -24,7 +24,7 @@
console.log("value:" + value);
}
};
var palette = new mindplot.widget.ColorPalette('myButton', model,"/mindplot/src/main/javascript/widget");
var palette = new mindplot.widget.ColorPalettePanel('myButton', model,"/mindplot/src/main/javascript/widget");
});
</script>