It is most certainly built with a framework. It is just an internal framework.
And, yes, Google has internal JS frameworks, but I am not aware that GoogleDocs is based on one.