title: What is the PastryKit Framework?
body: <p>I'm trying to find any information I can on the PastryKit Javascript Framework. It appears to be in use on the iPhone User Guide that is displayed on the iPhone itself in Mobile Safari, but I cannot find any documentation or API. If you want to see it in action, open Safari 4, set your user agent to iPhone 3 (In the Develop menu) and check out <a href="http://help.apple.com/iphone/3/mobile/" rel="noreferrer">the guide</a>.</p>
  
  <p>Overall, it seems to be a way to write an HTML/CSS/Javascript application that acts like a native iPhone app.</p>
  
  <p>When it comes to Javascript, I used the <a href="http://jsbeautifier.org/" rel="noreferrer">JS Beautifier</a> on (what I assume to be) the <a href="http://help.apple.com/ipodtouch/3/mobile/dist/PastryKit-ug-compact.js" rel="noreferrer">framework file</a> and it was over 3,400 lines! Beautified, (again what I assume to be) <a href="http://help.apple.com/ipodtouch/3/mobile/javascript.js" rel="noreferrer">their implementatio</a>n of it was over 1,200 lines.</p>
  
  <p>On the CSS side, I used <a href="http://cleancss.com/" rel="noreferrer">Clean CSS</a> on (again what I assume to be) the <a href="http://help.apple.com/ipodtouch/3/mobile/dist/PastryKit-ug-compact.css" rel="noreferrer">framework CSS</a>, and it came out to over 700 lines. <a href="http://help.apple.com/ipodtouch/3/mobile/style/stylesheet.css" rel="noreferrer">Their implementation</a> was shy of 500.</p>
  
  <p>Does anybody have, or know where to find, any information, documentation, or APIs on PastryKit? Or, can anybody figure out how to implement it?</p>