Commit 0ef5e6a0 authored by Téo Vasseur's avatar Téo Vasseur
Browse files

axes.js : add createClassedSpan function

To be moved to tools.js ?
parent 693ddd9a
......@@ -28,6 +28,13 @@ function Axes (model) {
V_IDENTITY_THRESHOLD = 98.0
function createClassedSpan (className, innerText) {
var span = document.createElement('span');
span.className = className;
span.innerText = innerText;
return span;
}
Axes.prototype = {
available: function(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment