Browser test: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
(function(){ | (function(){ | ||
var brd = JXG.JSXGraph.initBoard('jxgbox', { boundingbox:[-1,5,5,-1]}); | var brd = JXG.JSXGraph.initBoard('jxgbox', { boundingbox:[-1,5,5,-1]}); | ||
brd.create('text',[-0.5, | brd.create('text',[-0.5,2, function(){ return navigator.appVersion; }], {fontSize:'100%'}); | ||
brd.create('text',[-0.5,0, function(){ return JXG.JSXGraph.rendererType; }], {fontSize:'100%'}); | brd.create('text',[-0.5,0, function(){ return JXG.JSXGraph.rendererType; }], {fontSize:'100%'}); | ||
})(); | })(); |