fix #8056 - more refinements to checking data
[g.raphael] / g.pie.js
index 0af221e..e50e397 100644 (file)
--- a/g.pie.js
+++ b/g.pie.js
@@ -4,17 +4,11 @@
  * Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com)
  * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
  */
-//Raphael = typeof(Raphael) != 'undefined' ? Raphael :  (imports ? imports.seed.Raphael.Raphael : {});
-//Roo = typeof(Roo) != 'undefined' ? Roo:  (imports ? imports.seed.Roo.Roo: {});
+Raphael = typeof(Raphael) != 'undefined' ? Raphael :  (imports ? imports.seed.Raphael.Raphael : {});
+Roo = typeof(Roo) != 'undefined' ? Roo:  (imports ? imports.seed.Roo.Roo: {});
 //chartinst = typeof(chartinst) != 'undefined' ? chartinst:  (imports ? imports.chartinst.chartinst : {});
  
-if (typeof(Raphael) == 'undefined') {
-    // support for seed/simple browser usage
-    importz = imports['seed/importz.js'].importz;
 
-    Raphael = importz('Raphael');
-    Roo = importz('Roo');
-}
 
 (function () {