Commit 6974f7a7 authored by Penny Leach's avatar Penny Leach
Browse files

added a countkeys mahara js function

parent 5aa8aa02
......@@ -296,3 +296,8 @@ function expandDownToViewport(element, width) {
setElementDimensions(element, newheight);
}
function countKeys(x) {
n = 0;
for ( i in x ) n++;
return n;
}
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