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.
25 lines
902 B
25 lines
902 B
var hasCanvas = function(){ |
|
|
|
var canvas = typeof window !== 'undefined' && window.document && window.document.createElement && document.createElement('canvas'); |
|
return canvas && !!canvas.getContext; |
|
|
|
}; |
|
|
|
if (hasCanvas()) { |
|
exports.Surface = require('./canvas/surface'); |
|
exports.Path = require('./canvas/path'); |
|
exports.Shape = require('./canvas/shape'); |
|
exports.Group = require('./canvas/group'); |
|
exports.ClippingRectangle = require('./canvas/clippingrectangle'); |
|
exports.Text = require('./canvas/text'); |
|
} else { |
|
exports.Surface = require('./vml/surface'); |
|
exports.Path = require('./vml/path'); |
|
exports.Shape = require('./vml/shape'); |
|
exports.Group = require('./vml/group'); |
|
exports.ClippingRectangle = require('./vml/clippingrectangle'); |
|
exports.Text = require('./vml/text'); |
|
|
|
var DOM = require('./vml/dom'); |
|
if (typeof document !== 'undefined') DOM.init(document); |
|
}
|
|
|