Requires

Provides

Implements ART, ART.Shape and ART.Group based on the current browser.

  1. 11
  2. 12
  3. 13
  4. 14
  5. 15
  6. 16
  7. 17
  8. 18
  9. 19
  10. 20
  11. 21
  12. 22
  13. 23
  14. 24
  15. 25
  16. 26
  17. 27
  18. 28
  19. 29
  20. 30
  21. 31
  22. 32
  23. 33
  24. 34
(function(){ var SVG = function(){ var implementation = document.implementation; return (implementation && implementation.hasFeature && implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1")); }; var VML = function(){ return ART.VML.init(document); }; var MODE = SVG() ? 'SVG' : VML() ? 'VML' : null; if (!MODE) return; ART.Shape = new Class({Extends: ART[MODE].Shape}); ART.Group = new Class({Extends: ART[MODE].Group}); ART.Text = new Class({Extends: ART[MODE].Text}); ART.implement({Extends: ART[MODE]}); })();