Commit f1506927 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

default properties for radical

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51942 954022d7-b5bf-4e40-9824-e11837661b57
parent 8efcd04b
......@@ -167,13 +167,15 @@ CSignRadical.prototype.relate = function(parent)
function CRadical()
{
this.type = SQUARE_RADICAL; // default
this.signRadical = null;
CMathBase.call(this);
}
extend(CRadical, CMathBase);
CRadical.prototype.init = function(props)
{
this.type = props.type;
if( typeof(props.type) !== "undefined" && props.type !== null)
this.type = props.type;
this.setDimension(1, 1);
this.setContent();
......
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