什么是PastryKit框架? [英] What is the PastryKit Framework?

查看:107
本文介绍了什么是PastryKit框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在PastryKit Javascript框架上找到任何我可以获得的信息。它似乎在移动Safari中的iPhone本身显示的iPhone用户指南中使用,但我找不到任何文档或API。如果你想看到它的实际操作,打开Safari 4,将你的用户代理设置为iPhone 3(在Develop菜单中)并查看

说到Javascript,我使用了 JS Beautifier (我认为是)框架文件,它已超过3,400行!美化(再次假设我是)其实施已超过1,200行。



在CSS方面,我使用了清理CSS 开(我再次假设为)框架CSS ,它出现了超过700行。 它们的实施只有500美元。



任何人都有或知道在哪里可以找到PastryKit上的任何信息,文档或API?或者,任何人都能弄清楚如何实现它?

在大胆的火球: pastrykit



编辑:大卫卡尔霍恩在这个博客添加了更多深入的信息: pastrykit挖入苹果派


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 the guide.

Overall, it seems to be a way to write an HTML/CSS/Javascript application that acts like a native iPhone app.

When it comes to Javascript, I used the JS Beautifier on (what I assume to be) the framework file and it was over 3,400 lines! Beautified, (again what I assume to be) their implementation of it was over 1,200 lines.

On the CSS side, I used Clean CSS on (again what I assume to be) the framework CSS, and it came out to over 700 lines. Their implementation was shy of 500.

Does anybody have, or know where to find, any information, documentation, or APIs on PastryKit? Or, can anybody figure out how to implement it?

解决方案

John Gruber recently posted a link with some more information from his research over at Daring Fireball: pastrykit

EDIT: David Calhoun added a lot more in-depth information over at this blog: pastrykit digging into an apple pie

这篇关于什么是PastryKit框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆