Improved Element.clone by moving the clean function from inside the closure of clone...
commite66b8c4f0925640cee6057a11b4177ac29cc759b
authorOlmo Maldonado <olmo.maldonado@gmail.com>
Thu, 28 Oct 2010 02:59:39 +0000 (27 21:59 -0500)
committerChristoph Pojer <christoph.pojer@gmail.com>
Wed, 3 Nov 2010 15:24:06 +0000 (3 16:24 +0100)
tree892b01fda8b707d77ce10e79567f9d36ca1430b9
parentc3e6555268fadee6dee7d1ace0d1991c7a4f2f87
Improved Element.clone by moving the clean function from inside the closure of clone out. This way the method will not have to be reinitialized on every call.
Renamed private variable props to formProps as props is common throughout the file. Better readability to clarify what the props are for.
Source/Element/Element.js