This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
694 B
26 lines
694 B
var SVG = require('./svg'); |
|
var VML = require('./vml'); |
|
|
|
var hasSVG = function(){ |
|
|
|
var implementation = typeof document !== 'undefined' && document.implementation; |
|
return (implementation && implementation.hasFeature && implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1")); |
|
|
|
}; |
|
|
|
var hasVML = function(){ |
|
|
|
return typeof document !== 'undefined' && document.namespaces; |
|
|
|
}; |
|
|
|
var MODE = hasSVG() ? SVG : hasVML() ? VML : {}; |
|
|
|
exports.Surface = MODE.Surface; |
|
exports.Path = MODE.Path; |
|
exports.Shape = MODE.Shape; |
|
exports.Group = MODE.Group; |
|
exports.ClippingRectangle = MODE.ClippingRectangle; |
|
exports.Text = MODE.Text; |
|
|
|
require('./current').setCurrent(exports);
|
|
|