YUI 2.5がリリースされ、完全なAIRサポート、JSON安全更新、構成コンポーネント、bug fixs


YUIのチームがYUI 2を発表した.5.1バージョン、今日、SourceForgeでにダウンロードできます.67の問題を修正するパッチを提供します.
2.5.1バージョンはAdobe RIAの実行環境でよく動作し、FireFoxでJSON解釈器のセキュリティ欠陥も修復されました.2.5.1のトップクラスのプロジェクトです.
 
  • RIAがサポートする
  • RIAサポートの改善:Improved AIR support:YUIはAdobe RIAでよく動作する必要があることはとっくに知っています.YUIはWebKitサポートに良いので、YUI 2.5.1より強力なテキストエディタに関連するコンテンツ管理パネルを提供します.
  • JSONの解析Firefox:crockford今週json.orgに提出されたJSONの解釈にはセキュリティホールが存在し、このホールはこのJSONの解析器が利用され、いくつかの不安全なスクリプトに攻撃されることができる.この脆弱性は新版YUIで修復された.
  • データテーブル修飾:ジェニハンとルークスミスのアップグレードデータテーブル、2.5.1動的な追加、削除、編集、テーブルデータの時性能の上でもっと良い表現がありました.
  • YUI構成:構成インタフェースを追加しました.私たちのウェブサイトはコンポーネント選択リストを提供しています.あなたは自分の好きなコンポーネントをカスタマイズして、鋭いウェブサイトで、ナビゲーションテーブル式コンポーネント選択インタフェースを提供することができます.プロファイルは、必要な機能を自動的に提供します.次の図
  • を見てください
  • の下には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を修復しました.