YUI 2.5发布了,完善的AIR支持,JSON安全更新,配置组件,bug fixs

YUI的团队 发布了YUI2.5.1版本,今天,你可以到SourceForge上下载。 它提供一个补丁修复了67个问题。

2.5.1版本可以很好的在Adobe RIA的运行环境运行,在FireFox上还修复了一个JSON解释器安全缺陷。它是2.5.1的顶级的项目。

 

  • RIA支持的
  • RIA支持的改进:Improved AIR support:    我们早就知道,YUI需要很好的运行在Adobe RIA,因为YUI是对WebKit支持的很好,YUI2.5.1提供了更强大的文本编辑器已经相关的内容管理面板。
  • JSON的解析在Firefox :crockford本周在json.org提交了JSON的解释中存在一个安全漏洞 , 该漏洞允许该JSON的解析器被利用,可以被一些不安全的脚本进行攻击。 这个漏洞已经在新版的YUI上修复了。
  • 数据表修饰:詹妮汉和卢克史密斯不遗余力的升级数据表, 2.5.1在动态的添加,删除,编辑,表数据的时候性能上有了更好的表现。
  • YUI配置:我们增加了一个配置界面,我们的网站提供了一个组件选择列表,你可以定制一些自己喜欢的组件以锐网站,提供一种导航仪表式组件选择界面。配置文件会自动为你提供你想要的功能。请看下面一张图
  • The YUI Configurator.
  • 下面是一些aggregate file
    <!--Load then new yuiloader-dom-event aggregate file:-->
    <script type="text/javascript" 
     src="http://yui.yahooapis.com/2.5.1/build/yuiloader-dom-event/yuiloader-dom-event.js" >
    </script>
    
    <!--Now, when you want to use a new component, you can just do this:-->
    <script type="text/javascript">
      // Instantiate and configure Loader:
      var loader = new YAHOO.util.YUILoader({
        // Identify the components you want to load.  Loader will automatically
        // identify any additional dependencies required for the specified 
        // components.
        require: ["button", "slider"],
        // Configure loader to pull in optional dependencies.  For example, 
        // animation is an optional dependency for slider.
        loadOptional: true,
        // The function to call when all script/css resources have been loaded
        onSuccess: function() {
          //this is your callback function; you can use
          //this space to call all of your instantiation
          //logic for the components you just loaded.
      
          //so, you can implement button safely here:
          var oButton = new YAHOO.widget.Button("mybutton");
        }
      });
    
      // Load the files onto the page:
      loader.insert();
      </script>

  • Bug fixes: YUI 2.5.1 修复了bug fixs。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值