removing VML support from client side
This commit is contained in:
@@ -21,23 +21,9 @@ function afterCoreLoading()
|
||||
{
|
||||
|
||||
// Uncomment for debug ...
|
||||
if (core.UserAgent.isVMLSupported())
|
||||
{
|
||||
// $import("../js/mindplot.vml.js");
|
||||
} else
|
||||
{
|
||||
$import("../js/mindplot.svg.js");
|
||||
}
|
||||
$import("../js/mindplot.svg.js");
|
||||
|
||||
// if (core.UserAgent.isVMLSupported())
|
||||
// {
|
||||
// $import("../js/mindplot.vml-min.js");
|
||||
// } else
|
||||
// {
|
||||
// $import("../js/mindplot.svg-min.js");
|
||||
//
|
||||
// }
|
||||
|
||||
|
||||
};
|
||||
afterCoreLoading();
|
||||
|
@@ -18,14 +18,7 @@
|
||||
|
||||
function afterCoreLoading()
|
||||
{
|
||||
if (core.UserAgent.isVMLSupported())
|
||||
{
|
||||
$import("../js/mindplot.vml-min.js");
|
||||
} else
|
||||
{
|
||||
$import("../js/mindplot.svg-min.js");
|
||||
|
||||
}
|
||||
$import("../js/mindplot-min.js");
|
||||
};
|
||||
|
||||
afterCoreLoading();
|
||||
|
@@ -29,10 +29,6 @@
|
||||
// IE Hack ....
|
||||
function afterMindpotLibraryLoading(){};
|
||||
|
||||
if (core.UserAgent.isVMLSupported())
|
||||
{
|
||||
$import("../js/mindplot.vml.js");
|
||||
}
|
||||
};
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user